Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-28 | Handle Ron and Tsumo actions, start a new round after one is over. | Vegard Storheil Eriksen | 1 | -13/+14 | |
2010-11-28 | Separated Game::Player method definitions into new file. | Vegard Storheil Eriksen | 2 | -330/+331 | |
2010-11-28 | Added simple can_ron() and can_tsumo() tests. No kokushi/chitoi yet. | Vegard Storheil Eriksen | 2 | -1/+74 | |
2010-11-27 | Whoops, missed one. Also, we don't need to construct a rotated tile. | Vegard Storheil Eriksen | 2 | -4/+4 | |
2010-11-27 | Force all fields of Tile to be initialized. | Vegard Storheil Eriksen | 2 | -8/+1 | |
2010-11-27 | List of nicks now in correct order for all players. | Vegard Storheil Eriksen | 1 | -0/+9 | |
2010-11-27 | Added kan-dora. | Vegard Storheil Eriksen | 2 | -0/+9 | |
2010-11-27 | Added dora. | Vegard Storheil Eriksen | 2 | -4/+10 | |
2010-11-27 | Handle chi/pon/kan actions. | Vegard Storheil Eriksen | 2 | -4/+130 | |
2010-11-27 | Use tilegroups for exposed tiles instead of just a list of tiles. | Vegard Storheil Eriksen | 2 | -2/+2 | |
2010-11-27 | Added List::del(). | Vegard Storheil Eriksen | 1 | -0/+5 | |
2010-11-27 | Chi only from left. | Vegard Storheil Eriksen | 2 | -7/+9 | |
2010-11-27 | Using CyclicInt for PlayerNum. | Vegard Storheil Eriksen | 2 | -21/+25 | |
2010-11-27 | Added CyclicInt convenience class. | Vegard Storheil Eriksen | 1 | -0/+80 | |
2010-11-27 | Fixed minor regression in server. | Vegard Storheil Eriksen | 1 | -3/+3 | |
2010-11-27 | Split target type and target offset in Action. | Vegard Storheil Eriksen | 3 | -12/+21 | |
2010-11-27 | Removed obsolete files. | Vegard Storheil Eriksen | 7 | -628/+0 | |
2010-11-27 | Changed format of RoundState again. | Vegard Storheil Eriksen | 6 | -46/+58 | |
2010-11-27 | Added List class to avoid reinventing features in each case. | Vegard Storheil Eriksen | 5 | -40/+41 | |
2010-11-25 | Changed contents of Message::RoundState. Made relevant changes to client. | Vegard Storheil Eriksen | 2 | -6/+23 | |
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> |