summaryrefslogtreecommitdiff
path: root/server/game.h
AgeCommit message (Collapse)AuthorFilesLines
2010-12-02Added tenpai test to allow calling riichi.Vegard Storheil Eriksen1-0/+3
2010-12-01Made Game and Game::Player take ChildBase::p instead of Child::p.Vegard Storheil Eriksen1-3/+3
2010-11-28Added simple can_ron() and can_tsumo() tests. No kokushi/chitoi yet.Vegard Storheil Eriksen1-1/+7
2010-11-27Added kan-dora.Vegard Storheil Eriksen1-0/+2
2010-11-27Added dora.Vegard Storheil Eriksen1-2/+4
2010-11-27Handle chi/pon/kan actions.Vegard Storheil Eriksen1-0/+7
2010-11-27Use tilegroups for exposed tiles instead of just a list of tiles.Vegard Storheil Eriksen1-1/+1
2010-11-27Chi only from left.Vegard Storheil Eriksen1-1/+1
2010-11-27Using CyclicInt for PlayerNum.Vegard Storheil Eriksen1-1/+4
2010-11-27Changed format of RoundState again.Vegard Storheil Eriksen1-4/+4
2010-11-25Replace GameVariant/RuleSet::Standard with Game::Player.Vegard Storheil Eriksen1-7/+24
2010-11-25Added Game::Player.Vegard Storheil Eriksen1-0/+53
2010-11-25Rename Player to Client, to better reflect what it represents.Vegard Storheil Eriksen1-4/+4
A Player should be specific to a game, while a Client may participate in several.
2010-11-22Moved lots of code in Game out into a separate class.Atle Hellvik Havsø1-17/+4
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-20Minor change with State.Atle Hellvik Havsø1-1/+1
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-20Server responds to discard messages.Atle Hellvik Havsø1-4/+9
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-20Wait for action from player 0 (East) at the start of a round.Atle Hellvik Havsø1-0/+7
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-20Added a wall to Game and started handing out tiles to the players in the ↵Atle Hellvik Havsø1-0/+7
start of a game. Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-19Outline of program flow in Game class.Vegard Storheil Eriksen1-0/+7
2010-11-15Implement server program flow around GameStart.Vegard Storheil Eriksen1-3/+22
2010-11-15Added Game-class and GameStart message.Vegard Storheil Eriksen1-11/+9
2010-11-08added player and game classesOle Daniel Evensen1-0/+15