JackieChiles/Cinch — Issue #15: Implement client-side game state & handlers
Author: PheonixKotori
Created: 2012-02-09 01:22:43+00:00
State: open
Labels: client

The client will maintain the game state for its limited point of view: cards in own hand, number of cards in other hands, and all public information (trump, score, etc.) Since the client game state will be made entirely from server messages* there should be handlers and parsers in place to update game state from server traffic. These features should be accessible by the View component of the client.

*There are two options for a client to handle its move: self-publish the move to its internal game state when directed by server, or ignore own move and update on next game state update from server. Recommend the second option for simplicity in coding.