google-code-export / words-battle

Automatically exported from code.google.com/p/words-battle
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Write classes WBGame, WBPlayer, WBClient #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
WBGame should contain two WBPlayers. It should call methods on them. 
ClientHandler should receive messages from client and call appropriate methods 
on WBPlayer. Than WBPlayer calls something on WBGame. WBGame do some logic and 
calls WBPlayers back    -> client.

WBClient is a class that client will use to comunicate with server.

Original issue reported on code.google.com by DanichBl...@gmail.com on 25 May 2012 at 12:51

GoogleCodeExporter commented 9 years ago
Классы добавлены в r64
 * WBGame минимально реализован. 
 * В WBPlayer реализован функционал для обмена запросами на игру. 
 * WBClient - http://code.google.com/p/words-battle/issues/detail?id=21#c2

Original comment by DanichBl...@gmail.com on 4 Jun 2012 at 8:42

GoogleCodeExporter commented 9 years ago
Сделал commit r71
 * WBGame: implemented part of functionality.
 * WBPlayer: now can pickLetter. Score and word are private and "accessed"
through getPlayerForMessage() method.
Client:
 * WBClient: added pickLetter(Letter) method. Added GAME_STARTED messageType

Original comment by DanichBl...@gmail.com on 6 Jun 2012 at 12:22

GoogleCodeExporter commented 9 years ago
Этот issue распался на issue13 и issue 21.

Original comment by DanichBl...@gmail.com on 16 Jun 2012 at 10:17