Repositories
rps-strategy
Help
Mercurial
Summary
Shortlog
Changelog
Graph
Branches
Tags
Bookmarks
Files
Other formats:
JSON
Raw
Feeds:
Atom
RSS
The revision graph only works with JavaScript-enabled browsers.
less
more
(0)
tip
Strictly speaking, rps_rules has no state.
default
tip
2014-03-08, by Anton Shestakov
Less typing less errors in tests.
2014-03-08, by Anton Shestakov
Test rps3:why/2 and rps5:why/2.
2014-03-08, by Anton Shestakov
rps_rules:why/3, use it in rps3 and rps5.
2014-03-08, by Anton Shestakov
Slightly more consistent naming of variables in rps_rules:parse/2.
2014-03-08, by Anton Shestakov
Start countdown in lobby if there are more than 1 player (was: 0).
2014-03-08, by Anton Shestakov
Add possibility to use rps_nickserv's api with a Pid.
2014-03-08, by Anton Shestakov
Return pid if no nickserv can't find nickname.
2014-03-08, by Anton Shestakov
Linebreak.
2014-03-08, by Anton Shestakov
Now lobby waits for other players to join or starts without them.
2014-03-08, by Anton Shestakov
Use ~p instead of ~w for win stats, overall more human-friendly format in printer.
2014-03-06, by Anton Shestakov
Get win stats by nicknames, not pids.
2014-03-06, by Anton Shestakov
rps5 as a gen_server.
2014-03-03, by Anton Shestakov
Add only unique hands to #ruleinfo.hands.
2014-03-03, by Anton Shestakov
Keeping comments up-to-date with code.
2014-03-03, by Anton Shestakov
EUnit's assertEqual takes Expect first.
2014-03-03, by Anton Shestakov
Rename #state from rps_rules.hrl to #ruleinfo.
2014-03-03, by Anton Shestakov
Move #state record definition to rps_rules.hrl.
2014-03-03, by Anton Shestakov
Move parse_rules and winning_hand to rps_rules.
2014-03-03, by Anton Shestakov
Make rps3 a gen_server under the hood.
2014-03-03, by Anton Shestakov
Rename rpsN:get_rules/0 to get_hands/0.
2014-03-03, by Anton Shestakov
Each room has its own set of rules.
2014-03-03, by Anton Shestakov
Make rps_nickserv a gen_server.
2014-03-03, by Anton Shestakov
Dedicated service: rps_nickserv.
2014-03-02, by Anton Shestakov
Backout nicknames: would make more sense to have nicknames in lobby, not in a room.
2014-03-02, by Anton Shestakov
Backed out changeset 44aa20fdf779: let's not change rules each round.
2014-03-02, by Anton Shestakov
Bots must know rules of current room (only rps3 at the moment).
2014-03-02, by Anton Shestakov
Nicknames for bots.
2014-03-02, by Anton Shestakov
Use state record for room.
2014-03-02, by Anton Shestakov
rps.app stub.
2014-03-02, by Anton Shestakov
Tests.
2014-03-02, by Anton Shestakov
Separate rps_bots.erl.
2014-03-01, by Anton Shestakov
Unused export.
2014-03-01, by Anton Shestakov
Separate rps_room.erl.
2014-03-01, by Anton Shestakov
Emakefile.
2014-03-01, by Anton Shestakov
src directory.
2014-03-01, by Anton Shestakov
spawn_link everything.
2014-03-01, by Anton Shestakov
Replace modules name by ?MODULE macro.
2014-03-01, by Anton Shestakov
Count winning hands too.
2014-02-26, by Anton Shestakov
Reformat -export in rps3.
2014-02-26, by Anton Shestakov
rps5 rules.
2014-02-26, by Anton Shestakov
Separate winner/1 and winning_hand/1, as their logic is different.
2014-02-26, by Anton Shestakov
A bit more consistent naming in rps3.
2014-02-26, by Anton Shestakov
Choice is a hand that is attached to someone.
2014-02-26, by Anton Shestakov
Use lists:keymember for testing if player has already made his choice.
2014-02-26, by Anton Shestakov
Move rules to a separate module.
2014-02-26, by Anton Shestakov
Add gambler bot (see gambler's fallacy). Completely broke the other bots.
2014-02-25, by Anton Shestakov
Add copycat bot. It copies the winning hand all the time.
2014-02-25, by Anton Shestakov
Improve counter and stats format.
2014-02-23, by Anton Shestakov
Simple counter and printer to clean up console.
2014-02-23, by Anton Shestakov
Rename for clarity.
2014-02-23, by Anton Shestakov
Define bots.
2014-02-23, by Anton Shestakov
Intermediate bot state: "joined" the lobby, but not in a room yet.
2014-02-23, by Anton Shestakov
Register lobby process instead of passing it every time.
2014-02-23, by Anton Shestakov
Working thing.
2014-02-23, by Anton Shestakov
less
more
(0)
tip