Monday, June 27, 2005

Bug Fixes ?

I’ve put the Backlight and New Vibrate functionality in. I’m using the Nokia custom classes for this but as it’s limited to the classes which already restricted by the Nokia full screen class. Still not working the way I want but further testing will sort it out.

Work has started on the timeout and the aborting functionality. It’s quite simple really. Both the Client and the server have two counters. These count down with every game beat. If a move is sent or received, they are reset to they’re maximum value and it starts all over again.

If the output counter runs out then a time packet is sent and the counter is reset. If the input counter doesn’t receive a game packet from the opposing player within 1500 milliseconds it assumes the connection has been lost, (as the standard Bluetooth timeout is twenty seconds).

The other is the issue of an interruption to the game. Be it Phone call, message, I’ve coded up a call to abort any currently playing Multi Player game. Still got to alter the code for the map transfer but I’m almost there. Testing is going to be fun with people sending me Text messages or calls while I’m playing a game.

Just got to put in the Bluetooth active check and that should solve that embarrassing bug. Just sent a test to some of my friends to see if they can help me test the game.

0 Comments:

Post a Comment

<< Home