Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-25 | Added dora-field to RoundState. | Vegard Storheil Eriksen | 2 | -0/+4 | |
2010-11-25 | Replace GameVariant/RuleSet::Standard with Game::Player. | Vegard Storheil Eriksen | 2 | -85/+224 | |
2010-11-25 | Added Game::Player. | Vegard Storheil Eriksen | 2 | -0/+208 | |
2010-11-25 | Client::game_start() now take list of nicks, not list of clients. Minor cleanup. | Vegard Storheil Eriksen | 2 | -17/+7 | |
2010-11-25 | Add invisible-flag to Tile. | Vegard Storheil Eriksen | 1 | -0/+2 | |
2010-11-25 | Add get_set() to Tile. | Vegard Storheil Eriksen | 2 | -1/+46 | |
2010-11-25 | Add Action() taking type and target and Actions::operator bool(). | Vegard Storheil Eriksen | 2 | -0/+18 | |
2010-11-25 | Added Tiles::sort(). | Vegard Storheil Eriksen | 2 | -6/+30 | |
2010-11-25 | Rename Player to Client, to better reflect what it represents. | Vegard Storheil Eriksen | 8 | -48/+47 | |
A Player should be specific to a game, while a Client may participate in several. | |||||
2010-11-25 | Changed parts of the Wall API to make it reusable. Simplified the building. | Vegard Storheil Eriksen | 2 | -56/+26 | |
2010-11-25 | Added get_num(), operator==() and operator++() to Tile. | Vegard Storheil Eriksen | 2 | -0/+26 | |
2010-11-25 | Action::operator==() should take a reference. | Vegard Storheil Eriksen | 2 | -2/+2 | |
2010-11-25 | Remove Action::player and turn Action::target into an int. | Vegard Storheil Eriksen | 2 | -78/+74 | |
2010-11-25 | Check for valid action. | Vegard Storheil Eriksen | 5 | -13/+36 | |
2010-11-24 | Moved player-callbacks from class members to bound variables. | Vegard Storheil Eriksen | 2 | -26/+18 | |
2010-11-24 | Clear recv_callback even when no error_callback is specified. | Vegard Storheil Eriksen | 1 | -0/+2 | |
2010-11-24 | Added error handling around connections. | Vegard Storheil Eriksen | 4 | -12/+43 | |
2010-11-24 | Fixed play continues to the right on pon/kan. | Ole Daniel Evensen | 1 | -12/+4 | |
2010-11-24 | Added server-handling for pon/kan-actions. | Ole Daniel Evensen | 1 | -1/+53 | |
2010-11-24 | Removed some commented code. | Ole Daniel Evensen | 1 | -8/+0 | |
2010-11-24 | Wrote server-check for pon/kan possible actions. | Ole Daniel Evensen | 3 | -4/+50 | |
2010-11-24 | Player discards after chi. | Ole Daniel Evensen | 1 | -0/+10 | |
2010-11-23 | Changed the target in action from 2 ints into a vector<int>. Making it ↵ | Atle Hellvik Havsø | 2 | -26/+23 | |
easier to scale when we start with kan and riichi. Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-23 | Minor change in RuleSet::Standard | Atle Hellvik Havsø | 1 | -5/+3 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-23 | Added a second target to Action. | Atle Hellvik Havsø | 2 | -16/+17 | |
2010-11-22 | Moved lots of code in Game out into a separate class. | Atle Hellvik Havsø | 5 | -405/+499 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-22 | Fixed typo in chi-tests | Atle Hellvik Havsø | 1 | -30/+16 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-22 | Made server respond to Action::Chi messages. | Atle Hellvik Havsø | 1 | -4/+51 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-22 | Implemented pass on the server. | Atle Hellvik Havsø | 1 | -10/+37 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-22 | The "Chi" mechanism now works. | Atle Hellvik Havsø | 1 | -19/+45 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-22 | Added debug flag in scons-script for server. Wrote code to check if player ↵ | Ole Daniel Evensen | 2 | -6/+142 | |
can chi. | |||||
2010-11-22 | Minor fix to Set | Atle Hellvik Havsø | 1 | -1/+1 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-22 | Added a Set class. | Atle Hellvik Havsø | 3 | -0/+28 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-21 | Made the server send a empty RoundEnd message when the wall is empty ↵ | Atle Hellvik Havsø | 3 | -2/+51 | |
(Contains only 14 tiles). Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-21 | Added a empty RoundEnd Message. | Atle Hellvik Havsø | 3 | -0/+14 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-21 | Rewrote parts of round_update and handle_action | Atle Hellvik Havsø | 1 | -48/+79 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-21 | Server sends the players id in the game together with the GameStart message. | Atle Hellvik Havsø | 4 | -28/+28 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Fixed backslash in include. | Atle Hellvik Havsø | 1 | -1/+1 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Some changes to game. | Atle Hellvik Havsø | 1 | -17/+41 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Minor change with State. | Atle Hellvik Havsø | 7 | -14/+15 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Should now be possible to play a round where everyone discards. | Atle Hellvik Havsø | 1 | -13/+18 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Server responds to discard messages. | Atle Hellvik Havsø | 2 | -36/+108 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Made the Player class have a ID (That gets set during a game) which they add ↵ | Atle Hellvik Havsø | 3 | -0/+8 | |
to the Action-message. So we can keep track of which player did what action. Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Wait for action from player 0 (East) at the start of a round. | Atle Hellvik Havsø | 2 | -4/+40 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Added a wall to Game and started handing out tiles to the players in the ↵ | Atle Hellvik Havsø | 2 | -1/+27 | |
start of a game. Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-20 | Created a Wall-class. | Atle Hellvik Havsø | 2 | -0/+100 | |
Signed-off-by: Atle Hellvik Havsø <atle@havso.net> | |||||
2010-11-19 | Outline of program flow in Game class. | Vegard Storheil Eriksen | 2 | -0/+52 | |
2010-11-19 | Add game state and action functions to Player class. | Vegard Storheil Eriksen | 2 | -1/+41 | |
2010-11-19 | Add RoundStart, RoundState and RoundAction messages. | Vegard Storheil Eriksen | 3 | -0/+83 | |
2010-11-19 | Add Action and State classes. | Vegard Storheil Eriksen | 2 | -0/+78 | |