meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
courses:ct30a5000:assignment5 [2012/09/04 18:37]
julaakko
courses:ct30a5000:assignment5 [2013/09/24 13:29] (current)
julaakko [Tasks]
Line 83: Line 83:
 ===== Tasks ===== ===== Tasks =====
  
-Your programming task now is to implement the "​Connect Four" game over SCTP. See [[http://​en.wikipedia.org/​wiki/​Connect_Four|Wikipedia article]] about the game or [[http://​4-in-a-row.com/​|try it yourself]]. The game is also available for Linux, in Debian/​Ubuntu the packet ​is named as ''​gnect''​. Only difference here is that your game must support 2-4 players. You have to implement client and server. Server can serve one game at a time, after the game has started other connecting clients are rejected with an error message.+Your programming task now is to implement the "​Connect Four" game over SCTP. See [[http://​en.wikipedia.org/​wiki/​Connect_Four|Wikipedia article]] about the game or [[http://​4-in-a-row.com/​|try it yourself]]. The game is also available for Linux, in Debian/​Ubuntu the package ​is named as ''​gnect''​. Only difference here is that your game must support 2-4 players. You have to implement client and server. Server can serve one game at a time, after the game has started other connecting clients are rejected with an error message.
  
 After joining to the game each client has to report to the server that the player is ready. Server will start the game when all connected players are ready OR 3 seconds after when the 4th player joins. If a new player connects while, e.g., one player has not reported as ready the state of others is not needed to be reset. When all are ready the server reports that the game is starting to all players and includes the player count into this message. After joining to the game each client has to report to the server that the player is ready. Server will start the game when all connected players are ready OR 3 seconds after when the 4th player joins. If a new player connects while, e.g., one player has not reported as ready the state of others is not needed to be reset. When all are ready the server reports that the game is starting to all players and includes the player count into this message.