Picture
Projected Image
Augmented Tanks is a game I've been working on for a while now...and am still working on.

Building off of my solar powered iPhone controlled Arduino tank, I've added an infrared LED to my robot so that it can be tracked and also modified the tank's control system so that it now uses two XY grids and a fire button.

The first XY grid now controls the tanks direction and the second controls the tanks aim. There is also a large button spanning the entire top part of the interface which fires the weapon.
Picture
iPhone interface for tank control
doublexy.touchosc
File Size: 0 kb
File Type: touchosc
Download File

The goal of the game is simple, shoot tanks on the opposite team until your team has reached a total of 10 kills. Each time a member of your team is killed you get -1 point.

There are ammo pickups and each tank starts out with a shield that can take 10 hits before the tank is dead.

Right now every bullet fired is tracked with a firedfromID and teamID so that each bullet knows to go through team mates and only damage the opposite team. Also it help to keep track of kills so that at the end of the game statistics can be shown.
Picture
Currently in Progress:

Of course fun part of this is building the actual tanks/robots and controller. I'm still working out the details of what the tanks will be made out of, early tests were simply using Ardubots driven by SparkFun customers during our little meetup/class. How the controller communicated to the server running Processing is pretty important in order to be able to keep all the signals real-time and so that when a bot is killed it's IR led will be turned off for a few seconds and controls disabled.

The students were using xBee modules with unique channels to control each robot via serial commands send by their laptops, but that may be changing...or getting a bit more complicated since they all need to connect to the server via one xbee.
 
bologame10.zip
File Size: 149 kb
File Type: zip
Download File

 


Comments

Tim Wallace
12/31/2009 11:59

Relative to your Augmented Tanks post on 12/21/2009, you indicated you would be posting the source code the next day. Perhaps I am missing something and you've already posted it, but I don't see a link where I can obtain code that you have posted. I know this is the holiday season and you likely have not posted it yet, but where would one go to download source code that you have posted (for this and other projects)?

Reply

Your comment will be posted after it is approved.


Leave a Reply