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.
this is a prototype and installing will be a bit tricky
you will need to have python installed in your phone to be able to play it
Remember to stand well back from your opponent when playing. We know
to our cost that it is easy to damage your phone in the heat of
battle. It may also be wise to use a wrist strap.
i am not liable for any damage you cause to yourself,
your phone or anything else when playing Phone Fight.
- Both players must give the same answer to the question 'Play again?
Yes/No'. Failure to do so will cause the script to crash. The
inter-phone protocol needs to be extended to negotiate this.
- There probably plenty of other bugs. Beware.
- We have found the Python S60 socket.bt_discover() call to be
faulty. It causes the Python interpreter to crash. To avoid this, we
have added the facility to hard-code a list of phone bluetooth
addresses in the script. To use this facility, amend the script to
contain the correct names and bluetooth addresses for your group of
phone fighters, then answer 'No' when the challenger is prompted
with 'Discover automatically?'
- The program knows about re-orientation of the phone a short while
after it happens, leading to unexpectedly (un)successful attacks.
- Each player is essentially defending all the time (either
horizontally or vertically).
- The application is not very pretty to look at.
- This isn't really a very good simulation of a sword fight. It's
still fun, though.
if asked password is 1234