index
:
aotenjou
master
Online mahjong.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
server
/
game.cpp
Age
Commit message (
Expand
)
Author
Files
Lines
2010-12-11
Add Player::declare_ron() and Player::declare_tsumo().
Vegard Storheil Eriksen
1
-3
/
+2
2010-12-10
Implemented "atama hane"-rule on multiple ron.
Vegard Storheil Eriksen
1
-1
/
+9
2010-12-10
Handle concealed and extended kan.
Vegard Storheil Eriksen
1
-1
/
+12
2010-12-04
Added riichi handler.
Vegard Storheil Eriksen
1
-1
/
+5
2010-12-04
Fill all fields in GameState and PlayerState.
Vegard Storheil Eriksen
1
-11
/
+18
2010-12-03
Use PlayerState and GameState in Message::RoundState.
Vegard Storheil Eriksen
1
-4
/
+12
2010-12-02
Send current_player with RoundState.
Vegard Storheil Eriksen
1
-2
/
+2
2010-12-01
Minor bug in Game::round_end() - don't call round_start() before all clients ...
Vegard Storheil Eriksen
1
-1
/
+0
2010-12-01
Made Game and Game::Player take ChildBase::p instead of Child::p.
Vegard Storheil Eriksen
1
-2
/
+2
2010-11-29
Wait for Ready from client before starting a new round.
Vegard Storheil Eriksen
1
-4
/
+6
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
1
-330
/
+0
2010-11-28
Added simple can_ron() and can_tsumo() tests. No kokushi/chitoi yet.
Vegard Storheil Eriksen
1
-0
/
+67
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
1
-0
/
+7
2010-11-27
Added dora.
Vegard Storheil Eriksen
1
-2
/
+6
2010-11-27
Handle chi/pon/kan actions.
Vegard Storheil Eriksen
1
-4
/
+123
2010-11-27
Chi only from left.
Vegard Storheil Eriksen
1
-6
/
+8
2010-11-27
Using CyclicInt for PlayerNum.
Vegard Storheil Eriksen
1
-20
/
+21
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
1
-3
/
+0
2010-11-27
Changed format of RoundState again.
Vegard Storheil Eriksen
1
-20
/
+21
2010-11-25
Replace GameVariant/RuleSet::Standard with Game::Player.
Vegard Storheil Eriksen
1
-78
/
+200
2010-11-25
Added Game::Player.
Vegard Storheil Eriksen
1
-0
/
+155
2010-11-25
Rename Player to Client, to better reflect what it represents.
Vegard Storheil Eriksen
1
-2
/
+2
2010-11-25
Check for valid action.
Vegard Storheil Eriksen
1
-5
/
+5
2010-11-22
Moved lots of code in Game out into a separate class.
Atle Hellvik Havsø
1
-388
/
+20
2010-11-22
Fixed typo in chi-tests
Atle Hellvik Havsø
1
-30
/
+16
2010-11-22
Made server respond to Action::Chi messages.
Atle Hellvik Havsø
1
-4
/
+51
2010-11-22
Implemented pass on the server.
Atle Hellvik Havsø
1
-10
/
+37
2010-11-22
The "Chi" mechanism now works.
Atle Hellvik Havsø
1
-19
/
+45
2010-11-22
Added debug flag in scons-script for server. Wrote code to check if player ca...
Ole Daniel Evensen
1
-5
/
+141
2010-11-21
Made the server send a empty RoundEnd message when the wall is empty (Contain...
Atle Hellvik Havsø
1
-1
/
+35
2010-11-21
Rewrote parts of round_update and handle_action
Atle Hellvik Havsø
1
-48
/
+79
2010-11-21
Server sends the players id in the game together with the GameStart message.
Atle Hellvik Havsø
1
-28
/
+24
2010-11-20
Some changes to game.
Atle Hellvik Havsø
1
-17
/
+41
2010-11-20
Minor change with State.
Atle Hellvik Havsø
1
-7
/
+7
2010-11-20
Should now be possible to play a round where everyone discards.
Atle Hellvik Havsø
1
-13
/
+18
2010-11-20
Server responds to discard messages.
Atle Hellvik Havsø
1
-32
/
+99
2010-11-20
Wait for action from player 0 (East) at the start of a round.
Atle Hellvik Havsø
1
-4
/
+33
2010-11-20
Added a wall to Game and started handing out tiles to the players in the star...
Atle Hellvik Havsø
1
-1
/
+20
2010-11-19
Outline of program flow in Game class.
Vegard Storheil Eriksen
1
-0
/
+45
2010-11-15
Implement server program flow around GameStart.
Vegard Storheil Eriksen
1
-8
/
+33
2010-11-15
Added Game-class and GameStart message.
Vegard Storheil Eriksen
1
-2
/
+14
2010-11-08
added player and game classes
Ole Daniel Evensen
1
-0
/
+4