Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-12-03 | Use PlayerState and GameState in Message::RoundState. | Vegard Storheil Eriksen | 5 | -20/+31 | |
2010-12-03 | Don't add 1p-player to 4p-queue. | Vegard Storheil Eriksen | 1 | -1/+1 | |
2010-12-03 | Fixed error_code in Connection::handle_read(). | Vegard Storheil Eriksen | 2 | -4/+4 | |
2010-12-02 | Changed Hand::eat_-functions to return a bool, so a failure can be ↵ | Vegard Storheil Eriksen | 2 | -52/+54 | |
distinguished from a depleted list of tiles. | |||||
2010-12-02 | Sort hands before testing agari/tenpai. | Vegard Storheil Eriksen | 1 | -1/+5 | |
2010-12-02 | Send current_player with RoundState. | Vegard Storheil Eriksen | 3 | -8/+8 | |
2010-12-02 | Added tenpai test to allow calling riichi. | Vegard Storheil Eriksen | 4 | -2/+133 | |
2010-12-01 | Move hand calculations to a new file. | Vegard Storheil Eriksen | 3 | -51/+103 | |
2010-12-01 | Minor bug in Game::round_end() - don't call round_start() before all clients ↵ | Vegard Storheil Eriksen | 1 | -1/+0 | |
have responded. | |||||
2010-12-01 | Added game mode selection, with 1p and 4p testing modes. | Vegard Storheil Eriksen | 2 | -8/+30 | |
2010-12-01 | Made Game and Game::Player take ChildBase::p instead of Child::p. | Vegard Storheil Eriksen | 2 | -5/+5 | |
2010-12-01 | Made «dumb» ClientDumb. | Vegard Storheil Eriksen | 2 | -0/+39 | |
2010-12-01 | Made Client a child of abstract ClientBase. | Vegard Storheil Eriksen | 1 | -9/+37 | |
2010-12-01 | Added lobby support to Client. | Vegard Storheil Eriksen | 2 | -4/+30 | |
2010-11-29 | Wait for Ready from client before starting a new round. | Vegard Storheil Eriksen | 3 | -6/+13 | |
2010-11-28 | End the round when the wall is depleted. | Vegard Storheil Eriksen | 1 | -0/+7 | |
2010-11-28 | Draw a replacement tile after kan. | Vegard Storheil Eriksen | 1 | -0/+1 | |
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 | 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 | 1 | -1/+1 | |
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 | Split target type and target offset in Action. | Vegard Storheil Eriksen | 1 | -6/+6 | |
2010-11-27 | Removed obsolete files. | Vegard Storheil Eriksen | 4 | -560/+0 | |
2010-11-27 | Changed format of RoundState again. | Vegard Storheil Eriksen | 4 | -27/+30 | |
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 | 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 | Remove Action::player and turn Action::target into an int. | Vegard Storheil Eriksen | 1 | -72/+69 | |
2010-11-25 | Check for valid action. | Vegard Storheil Eriksen | 3 | -12/+14 | |
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 | 2 | -7/+28 | |
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ø | 1 | -20/+20 | |
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ø | 1 | -16/+14 | |
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> |