SwordFight From Microsoft Research
Written by Lucy Black   
Sunday, 15 July 2012

What will Microsoft Research think of next? After giving us the Kinect it has now invented a way to allow us to play sword fighting with nothing more than standard mobile phones. Don't be fooled there is still a lot of technology at work.

If you have ever play acted a sword fight you will know that it can be great fun. But who hit who? In the heat of battle it is difficult to keep track of the score.

 

swordfightpic

 

Now Microsoft Research has an answer to the problem and you don't need any addons or special hardware. Two standard mobile phones can let you play sword fight and keep the score of who got close to who. The whole idea is called Mobile Motion Gaming (MMG) and it could be the start of a new game genre - or not. 

 

 

The big problem to be solved is working out how close the two phones are. The solution is FAR, a new acoustic ranging system that can fix position to 2cm about 12 times a second. All that is needed is a loudspeaker, a microphone and a clever algorithm to make it work.

The standard way of finding out how far apart two phones are is that Phone A beeps and Phone B measures the time of arrival of the beep. Then Phone B beeps and Phone A measures the time of arrival of that pulse. (Both phones also record the time they received the pulse that they sent out as a correction factor). The phones have to exchange data so that they can work out the distance.

This is how the new system, FAR, works but it has tweaked the implementation so that detection of the tones is faster and more accurate. It also uses a pipelined execution based on three threads running in each phone. It performs the tone detection and distance computation while sending out the next pulse. By overlapping operations it can make measurements fast enough to be useful in real-time games.

 

swordfightarch

 

To date the positioning has been used in two games SwordFight - illustrated in the video - and ChaseCat where one player tries to get their phone close to the other player's phone.

There is no doubt that this is a remarkable piece of signal processing and it demonstrates just how much information can be extracted from the ability to create and detect sounds.

The big question is do users want Mobile Motion Games? How many broken mobile phones will accidental clashes create?

 swordfighticon

 

 

This seems to be a solution in search of a good problem.
So the question is can you think of a good use for being able to determine the distance between two phones, tablets or whatever, using just sound?

More Information

SwordFight

SwordFight: Enabling a New Class of Phone-to-Phone
Action Games on Commodity Phones PDF

Related Articles

Your Phone or Mine? Fusing Body, Touch and Device

Microsoft Research takes on Go

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


.NET 9 Released
18/11/2024

.NET 9 has been released with a number of performance improvements and new features designed to help developers use AI.



OpenAI Library For .NET Exits Beta
19/11/2024

A few months ago the OpenAI .NET library was released as a beta. It has now reached version 2.0.0 and the time has come to leave beta and, with a few amendments enter production readiness.


More News

Last Updated ( Sunday, 15 July 2012 )