Mon, 03 Mar 2014 20:08:31 +0900 |
Anton Shestakov |
Rename #state from rps_rules.hrl to #ruleinfo.
|
changeset |
files
|
Mon, 03 Mar 2014 20:06:02 +0900 |
Anton Shestakov |
Move #state record definition to rps_rules.hrl.
|
changeset |
files
|
Mon, 03 Mar 2014 20:00:26 +0900 |
Anton Shestakov |
Move parse_rules and winning_hand to rps_rules.
|
changeset |
files
|
Mon, 03 Mar 2014 19:46:02 +0900 |
Anton Shestakov |
Make rps3 a gen_server under the hood.
|
changeset |
files
|
Mon, 03 Mar 2014 15:42:17 +0900 |
Anton Shestakov |
Rename rpsN:get_rules/0 to get_hands/0.
|
changeset |
files
|
Mon, 03 Mar 2014 15:37:24 +0900 |
Anton Shestakov |
Each room has its own set of rules.
|
changeset |
files
|
Mon, 03 Mar 2014 15:09:55 +0900 |
Anton Shestakov |
Make rps_nickserv a gen_server.
|
changeset |
files
|
Sun, 02 Mar 2014 22:41:13 +0900 |
Anton Shestakov |
Dedicated service: rps_nickserv.
|
changeset |
files
|
Sun, 02 Mar 2014 22:10:59 +0900 |
Anton Shestakov |
Backout nicknames: would make more sense to have nicknames in lobby, not in a room.
|
changeset |
files
|
Sun, 02 Mar 2014 22:08:58 +0900 |
Anton Shestakov |
Backed out changeset 44aa20fdf779: let's not change rules each round.
|
changeset |
files
|
Sun, 02 Mar 2014 18:00:14 +0900 |
Anton Shestakov |
Bots must know rules of current room (only rps3 at the moment).
|
changeset |
files
|
Sun, 02 Mar 2014 17:58:19 +0900 |
Anton Shestakov |
Nicknames for bots.
|
changeset |
files
|
Sun, 02 Mar 2014 17:39:33 +0900 |
Anton Shestakov |
Use state record for room.
|
changeset |
files
|
Sun, 02 Mar 2014 15:32:17 +0900 |
Anton Shestakov |
rps.app stub.
|
changeset |
files
|
Sun, 02 Mar 2014 00:02:23 +0900 |
Anton Shestakov |
Tests.
|
changeset |
files
|
Sat, 01 Mar 2014 23:07:50 +0900 |
Anton Shestakov |
Separate rps_bots.erl.
|
changeset |
files
|
Sat, 01 Mar 2014 23:02:31 +0900 |
Anton Shestakov |
Unused export.
|
changeset |
files
|
Sat, 01 Mar 2014 23:01:29 +0900 |
Anton Shestakov |
Separate rps_room.erl.
|
changeset |
files
|
Sat, 01 Mar 2014 22:46:52 +0900 |
Anton Shestakov |
Emakefile.
|
changeset |
files
|
Sat, 01 Mar 2014 22:45:21 +0900 |
Anton Shestakov |
src directory.
|
changeset |
files
|
Sat, 01 Mar 2014 15:35:23 +0900 |
Anton Shestakov |
spawn_link everything.
|
changeset |
files
|
Sat, 01 Mar 2014 15:32:16 +0900 |
Anton Shestakov |
Replace modules name by ?MODULE macro.
|
changeset |
files
|
Wed, 26 Feb 2014 19:36:35 +0900 |
Anton Shestakov |
Count winning hands too.
|
changeset |
files
|
Wed, 26 Feb 2014 19:05:49 +0900 |
Anton Shestakov |
Reformat -export in rps3.
|
changeset |
files
|
Wed, 26 Feb 2014 19:05:32 +0900 |
Anton Shestakov |
rps5 rules.
|
changeset |
files
|
Wed, 26 Feb 2014 15:06:12 +0900 |
Anton Shestakov |
Separate winner/1 and winning_hand/1, as their logic is different.
|
changeset |
files
|
Wed, 26 Feb 2014 02:28:07 +0900 |
Anton Shestakov |
A bit more consistent naming in rps3.
|
changeset |
files
|
Wed, 26 Feb 2014 02:23:06 +0900 |
Anton Shestakov |
Choice is a hand that is attached to someone.
|
changeset |
files
|
Wed, 26 Feb 2014 01:46:12 +0900 |
Anton Shestakov |
Use lists:keymember for testing if player has already made his choice.
|
changeset |
files
|
Wed, 26 Feb 2014 01:38:26 +0900 |
Anton Shestakov |
Move rules to a separate module.
|
changeset |
files
|
Tue, 25 Feb 2014 23:55:18 +0900 |
Anton Shestakov |
Add gambler bot (see gambler's fallacy). Completely broke the other bots.
|
changeset |
files
|
Tue, 25 Feb 2014 23:16:04 +0900 |
Anton Shestakov |
Add copycat bot. It copies the winning hand all the time.
|
changeset |
files
|
Sun, 23 Feb 2014 16:38:28 +0900 |
Anton Shestakov |
Improve counter and stats format.
|
changeset |
files
|
Sun, 23 Feb 2014 15:02:21 +0900 |
Anton Shestakov |
Simple counter and printer to clean up console.
|
changeset |
files
|
Sun, 23 Feb 2014 00:29:31 +0900 |
Anton Shestakov |
Rename for clarity.
|
changeset |
files
|
Sun, 23 Feb 2014 00:23:54 +0900 |
Anton Shestakov |
Define bots.
|
changeset |
files
|
Sun, 23 Feb 2014 00:19:13 +0900 |
Anton Shestakov |
Intermediate bot state: "joined" the lobby, but not in a room yet.
|
changeset |
files
|
Sun, 23 Feb 2014 00:17:17 +0900 |
Anton Shestakov |
Register lobby process instead of passing it every time.
|
changeset |
files
|
Sun, 23 Feb 2014 00:04:28 +0900 |
Anton Shestakov |
Working thing.
|
changeset |
files
|