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

 

blog comments powered by Disqus

 

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


Duetto Morphs To Cheerp
03/09/2014

A C/C++ compiler for the Web has been released. It brings the advantage of bi-directional interoperability between C or C++ code and JavaScript code.



Intel RealSense - What Can YOU Do With It?
08/09/2014

There is still time to come up with an idea that could win you big bucks in the Intel RealSense App. If you want inspiration there is now plenty on offer and you can also reserve a RealSense developer [ ... ]


More News

Last Updated ( Sunday, 15 July 2012 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.