Game Device VCC Behaviour

Game device behaviour

This behaviour contans the modules that make up an individual game device. At present, although the game devices can communicate with each other and the user, they will not do very much because there is no game core in the behaviour. You will need to write a game core which implements a particular game and connect this to the exisiting modules.

For more information about each module, please follow the links on the menu.

The Game device behaviour has a number of parameters. This allows several game devices to exist in the network game behaviour with different names and bluetooth addresses. The following list shows the type of each parameter and an example value.

Game device parameters

The first 2 parameters are set in the network game behaviour, as they apply to all the game devices. The name and Bluetooth_BD_ADDR values specify a unique name and address for each game device in the network. One device must also be set as the master (using Bluetooth_is_master). This device should have a Bluetooth_max_inquiry_slave value of 7 and the other devices should all have a value of 1.