summaryrefslogtreecommitdiff
path: root/server
AgeCommit message (Expand)AuthorFilesLines
2010-11-25Rename Player to Client, to better reflect what it represents.Vegard Storheil Eriksen8-48/+47
2010-11-25Changed parts of the Wall API to make it reusable. Simplified the building.Vegard Storheil Eriksen2-56/+26
2010-11-25Remove Action::player and turn Action::target into an int.Vegard Storheil Eriksen1-72/+69
2010-11-25Check for valid action.Vegard Storheil Eriksen3-12/+14
2010-11-24Moved player-callbacks from class members to bound variables.Vegard Storheil Eriksen2-26/+18
2010-11-24Clear recv_callback even when no error_callback is specified.Vegard Storheil Eriksen1-0/+2
2010-11-24Added error handling around connections.Vegard Storheil Eriksen2-7/+28
2010-11-24Fixed play continues to the right on pon/kan.Ole Daniel Evensen1-12/+4
2010-11-24Added server-handling for pon/kan-actions.Ole Daniel Evensen1-1/+53
2010-11-24Removed some commented code.Ole Daniel Evensen1-8/+0
2010-11-24Wrote server-check for pon/kan possible actions.Ole Daniel Evensen3-4/+50
2010-11-24Player discards after chi.Ole Daniel Evensen1-0/+10
2010-11-23Changed the target in action from 2 ints into a vector<int>. Making it easier...Atle Hellvik Havsø1-20/+20
2010-11-23Minor change in RuleSet::StandardAtle Hellvik Havsø1-5/+3
2010-11-23Added a second target to Action.Atle Hellvik Havsø1-16/+14
2010-11-22Moved lots of code in Game out into a separate class.Atle Hellvik Havsø5-405/+499
2010-11-22Fixed typo in chi-testsAtle Hellvik Havsø1-30/+16
2010-11-22Made server respond to Action::Chi messages.Atle Hellvik Havsø1-4/+51
2010-11-22Implemented pass on the server.Atle Hellvik Havsø1-10/+37
2010-11-22The "Chi" mechanism now works.Atle Hellvik Havsø1-19/+45
2010-11-22Added debug flag in scons-script for server. Wrote code to check if player ca...Ole Daniel Evensen2-6/+142
2010-11-21Made the server send a empty RoundEnd message when the wall is empty (Contain...Atle Hellvik Havsø3-2/+51
2010-11-21Rewrote parts of round_update and handle_actionAtle Hellvik Havsø1-48/+79
2010-11-21Server sends the players id in the game together with the GameStart message.Atle Hellvik Havsø2-28/+25
2010-11-20Fixed backslash in include.Atle Hellvik Havsø1-1/+1
2010-11-20Some changes to game.Atle Hellvik Havsø1-17/+41
2010-11-20Minor change with State.Atle Hellvik Havsø4-10/+10
2010-11-20Should now be possible to play a round where everyone discards.Atle Hellvik Havsø1-13/+18
2010-11-20Server responds to discard messages.Atle Hellvik Havsø2-36/+108
2010-11-20Made the Player class have a ID (That gets set during a game) which they add ...Atle Hellvik Havsø2-0/+4
2010-11-20Wait for action from player 0 (East) at the start of a round.Atle Hellvik Havsø2-4/+40
2010-11-20Added a wall to Game and started handing out tiles to the players in the star...Atle Hellvik Havsø2-1/+27
2010-11-20Created a Wall-class.Atle Hellvik Havsø2-0/+100
2010-11-19Outline of program flow in Game class.Vegard Storheil Eriksen2-0/+52
2010-11-19Add game state and action functions to Player class.Vegard Storheil Eriksen2-1/+41
2010-11-15Implement server program flow around GameStart.Vegard Storheil Eriksen7-18/+85
2010-11-15Added Message::NullBase and Message::BoostBase. Edited Message::GameStart to ...Vegard Storheil Eriksen1-1/+1
2010-11-15Remove callback upon error to break circle of smart pointers.Vegard Storheil Eriksen1-0/+1
2010-11-15Added Game-class and GameStart message.Vegard Storheil Eriksen6-13/+43
2010-11-15Added Player class.Vegard Storheil Eriksen4-47/+76
2010-11-15Added Lobby class to server, serving as the master application class.Vegard Storheil Eriksen5-20/+90
2010-11-15Connection API changes.Vegard Storheil Eriksen2-0/+19
2010-11-15Changed Message-API. Implemented Hello, Login, LoginResponse.Vegard Storheil Eriksen1-2/+1
2010-11-08Started on payload classes.Vegard Storheil Eriksen1-1/+1
2010-11-08Added docstring on TCPServer::handle_connection().Ole Daniel Evensen1-1/+3
2010-11-08Added smartpointer to connection in player, rather than storing ip and port.Ole Daniel Evensen2-11/+15
2010-11-08Modified SConstruct files for windows targetsAtle Hellvik Havsø1-2/+7
2010-11-08added player and game classesOle Daniel Evensen4-0/+50
2010-11-07Test connecting from client, reading messages from server and echoing them back.Vegard Storheil Eriksen1-0/+5
2010-11-07Add error argument to Connection::handle_read().Vegard Storheil Eriksen2-5/+8