summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15Some tests in client to fall back to dumb behaviour if connection is gone.Ole Daniel Evensen1-19/+39
2010-12-15* Server sends closed and open hand.Atle Hellvik Havsø2-3/+11
* Client draws scoring properly when no yakus is sent.
2010-12-15Fixed score being sent when ron.Atle Hellvik Havsø1-0/+6
2010-12-14Made server send GameEnd.Atle Hellvik Havsø5-12/+60
2010-12-13Tried to fix the RoundEnd dialog...Atle Hellvik Havsø1-67/+73
2010-12-13Made RoundEnd send winnings.Atle Hellvik Havsø3-2/+21
2010-12-13Added endcondition argument to Game::round_end().Vegard Storheil Eriksen2-20/+57
2010-12-13Fill RoundEnd with info.Vegard Storheil Eriksen3-14/+27
2010-12-13Save list of han in winning hand.Vegard Storheil Eriksen2-11/+53
2010-12-13Changed RoundEnd::yakus to std::pair.Vegard Storheil Eriksen2-12/+2
2010-12-11Correct the first test, add another.Vegard Storheil Eriksen1-4/+24
2010-12-11Implement Player::declare_ron().Vegard Storheil Eriksen1-3/+15
2010-12-11Added unit test framework.Vegard Storheil Eriksen5-0/+45
2010-12-11Added Player::won and Player::won_value.Vegard Storheil Eriksen2-0/+11
2010-12-11Added Player::calculate_score().Vegard Storheil Eriksen2-0/+102
2010-12-11Added Score::fu_rounded().Vegard Storheil Eriksen2-1/+8
2010-12-11Added Tile::is_simple().Vegard Storheil Eriksen2-0/+8
2010-12-11Added List::count().Vegard Storheil Eriksen1-1/+6
2010-12-11Corrected max().Vegard Storheil Eriksen1-1/+1
2010-12-11Seperate han into yaku and dora.Vegard Storheil Eriksen2-9/+22
2010-12-11Add furiten.Vegard Storheil Eriksen1-1/+5
2010-12-11Moved Player out of Game.Vegard Storheil Eriksen3-126/+133
2010-12-11Add Player::declare_ron() and Player::declare_tsumo().Vegard Storheil Eriksen3-3/+16
2010-12-11Add Score-class.Vegard Storheil Eriksen2-0/+85
2010-12-11Add Hand::get_breakdowns() and extend eat_*() to support it.Vegard Storheil Eriksen2-1/+95
2010-12-11Add constructors to List.Vegard Storheil Eriksen1-0/+7
2010-12-10Implemented "atama hane"-rule on multiple ron.Vegard Storheil Eriksen1-1/+9
2010-12-10Handle concealed and extended kan.Vegard Storheil Eriksen3-1/+60
2010-12-09Retry waiting for a Ready message if wrong message was received.Vegard Storheil Eriksen1-0/+2
2010-12-09Set RoundEnd::game_end.Vegard Storheil Eriksen1-1/+5
2010-12-07Added Message::GameResume.Vegard Storheil Eriksen1-0/+15
2010-12-07Removed GameStart::player_id.Vegard Storheil Eriksen2-4/+0
2010-12-07Completed framework for reconnection. Still missing client-fallback and ↵Vegard Storheil Eriksen4-47/+84
resync upon reconnect.
2010-12-06Changed format of Message::Login and Message::LoginResponse to accomodate ↵Vegard Storheil Eriksen2-6/+22
reconnection.
2010-12-06Added GameEnd message and made the GameEndDialog use it.Atle Hellvik Havsø2-0/+22
2010-12-06Added fields to the RoundEnd message.Atle Hellvik Havsø1-1/+37
2010-12-06some preliminary code and structure for dis-connection and re-connection.Ole Daniel Evensen3-6/+45
2010-12-06cleaned out the connection-dialogs. Comented out the wall-hack. Fixed ↵Ole Daniel Evensen1-1/+1
button-action in OkCancelDialog. Created a new connection/disconnetion dialog.
2010-12-05Use Set to store open sets on server. Send actions to extend open kans.Vegard Storheil Eriksen3-10/+32
2010-12-05Added a Set-class.Vegard Storheil Eriksen1-0/+24
2010-12-05Test for concealed and extended kans.Vegard Storheil Eriksen2-5/+42
2010-12-05Renamed target types.Vegard Storheil Eriksen2-9/+12
2010-12-04Added riichi handler.Vegard Storheil Eriksen3-19/+33
2010-12-04Fill all fields in GameState and PlayerState.Vegard Storheil Eriksen3-15/+29
2010-12-04Added unary CyclicInt::operator-().Vegard Storheil Eriksen1-0/+4
2010-12-03Use PlayerState and GameState in Message::RoundState.Vegard Storheil Eriksen6-69/+39
2010-12-03Add PlayerState and GameState-structs to bundle together related information.Vegard Storheil Eriksen1-0/+64
2010-12-03Don't add 1p-player to 4p-queue.Vegard Storheil Eriksen1-1/+1
2010-12-03Fixed error_code in Connection::handle_read().Vegard Storheil Eriksen2-4/+4
2010-12-02Added fields to Message::RoundState - player.riichi, player.score, ↵Vegard Storheil Eriksen1-0/+21
player.wind, round_wind, round_number, riichibou, honba.