summaryrefslogtreecommitdiff
path: root/server/player.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-12-11Added Player::calculate_score().Vegard Storheil Eriksen1-0/+98
2010-12-11Add furiten.Vegard Storheil Eriksen1-1/+5
2010-12-11Moved Player out of Game.Vegard Storheil Eriksen1-27/+27
2010-12-11Add Player::declare_ron() and Player::declare_tsumo().Vegard Storheil Eriksen1-0/+8
2010-12-10Handle concealed and extended kan.Vegard Storheil Eriksen1-0/+42
2010-12-05Use Set to store open sets on server. Send actions to extend open kans.Vegard Storheil Eriksen1-9/+28
2010-12-05Test for concealed and extended kans.Vegard Storheil Eriksen1-4/+38
2010-12-05Renamed target types.Vegard Storheil Eriksen1-6/+6
2010-12-04Added riichi handler.Vegard Storheil Eriksen1-18/+22
2010-12-04Fill all fields in GameState and PlayerState.Vegard Storheil Eriksen1-3/+5
2010-12-03Use PlayerState and GameState in Message::RoundState.Vegard Storheil Eriksen1-4/+10
2010-12-02Sort hands before testing agari/tenpai.Vegard Storheil Eriksen1-1/+5
2010-12-02Added tenpai test to allow calling riichi.Vegard Storheil Eriksen1-0/+28
2010-12-01Move hand calculations to a new file.Vegard Storheil Eriksen1-51/+4
2010-11-28Separated Game::Player method definitions into new file.Vegard Storheil Eriksen1-0/+331
2010-11-25Rename Player to Client, to better reflect what it represents.Vegard Storheil Eriksen1-102/+0
2010-11-25Check for valid action.Vegard Storheil Eriksen1-5/+7
2010-11-24Moved player-callbacks from class members to bound variables.Vegard Storheil Eriksen1-17/+13
2010-11-21Made the server send a empty RoundEnd message when the wall is empty (Contain...Atle Hellvik Havsø1-1/+11
2010-11-21Server sends the players id in the game together with the GameStart message.Atle Hellvik Havsø1-0/+1
2010-11-20Minor change with State.Atle Hellvik Havsø1-1/+1
2010-11-20Made the Player class have a ID (That gets set during a game) which they add ...Atle Hellvik Havsø1-0/+1
2010-11-19Add game state and action functions to Player class.Vegard Storheil Eriksen1-0/+28
2010-11-15Implement server program flow around GameStart.Vegard Storheil Eriksen1-3/+17
2010-11-15Added Game-class and GameStart message.Vegard Storheil Eriksen1-0/+4
2010-11-15Added Player class.Vegard Storheil Eriksen1-5/+42
2010-11-08Added smartpointer to connection in player, rather than storing ip and port.Ole Daniel Evensen1-3/+2
2010-11-08added player and game classesOle Daniel Evensen1-0/+10