This section provides an insight and description of the core module connection to the network.
It should be noted that the bluetooth module was written by Jackson Tong.
Core module -> Network interface
After a legal move or button press has been performed by a player the obesrers and the opponent should be notified so
that their data structures and screen is updated. For this reason the successful command is sent down the network
and is broadcasted to all consoles participating in the game.
As shown in the diagram there are two kind of messages sent between the core and the network. These are buttons and moves and their structure
is defined below:
The button composite consists of:
Please email me if you have any questions.
|