Commits

Author Commit Message Labels Comments Date
Anton Shestakov
Tests.
Anton Shestakov
Separate rps_bots.erl.
Anton Shestakov
Unused export.
Anton Shestakov
Separate rps_room.erl.
Anton Shestakov
Emakefile.
Anton Shestakov
src directory.
Anton Shestakov
spawn_link everything.
Anton Shestakov
Replace modules name by ?MODULE macro.
Anton Shestakov
Count winning hands too.
Anton Shestakov
Reformat -export in rps3.
Anton Shestakov
rps5 rules.
Anton Shestakov
Separate winner/1 and winning_hand/1, as their logic is different.
Anton Shestakov
A bit more consistent naming in rps3.
Anton Shestakov
Choice is a hand that is attached to someone.
Anton Shestakov
Use lists:keymember for testing if player has already made his choice.
Anton Shestakov
Move rules to a separate module.
Anton Shestakov
Add gambler bot (see gambler's fallacy). Completely broke the other bots.
Anton Shestakov
Add copycat bot. It copies the winning hand all the time.
Anton Shestakov
Improve counter and stats format.
Anton Shestakov
Simple counter and printer to clean up console.
Anton Shestakov
Rename for clarity.
Anton Shestakov
Define bots.
Anton Shestakov
Intermediate bot state: "joined" the lobby, but not in a room yet.
Anton Shestakov
Register lobby process instead of passing it every time.
Anton Shestakov
Working thing.
  1. Prev
  2. Next