Tuesday, May 20, 2008

Phone Fight v0.3 - Multiplayer Game

Inspired by the popular “LightSaber”, Phone Fight is a prototype sword-fighting game for two players equipped with Nokia N95 or compatible phones. It makes use of the accelerometer within the phones to detect simulated sword slashes and blocks, and Bluetooth to communicate those moves between the phones and to notify the winning player of victory.
For each participating phone:- Make a directory on your phone’s external memory drive called e:\sounds\phonefight and copy everything from the sounds directory into there. The “e:\sounds” directory may be displayed as ‘Sound Clips’ on your phone. Don’t worry about that. Just make a phonefight subdirectory in there.- Copy “python/fight.py” to “e:\python” or “c:\python” on the phone
SetupEach player should start the fight.py script from the Python shell’s ‘Run Script’ menu option.One player should select ‘I am the Champion’ from the menu that appears. This make his or her phone the ’server’. A message will appear saying ‘waiting for client on channel 5…’ (or possibly some other number).
DOWNLOAD

No comments: