Skip to content
BF

BOTwaR for iPhone

Publisher: Dave Swift
iOS $1.99
Download v1.3 0 downloads
Version1.3
Publisher Dave Swift
Release dateApr 11, 2012
Date addedApr 11, 2012
Os requirementsiOS
RequirementsCompatible with: iphone3gs, iphone3gs, iphone3gs, iphone3gs, ipadwifi, ipadwifi, ipadwifi, ipadwifi, ipad3g, ipad3g, ipad3g, ipad3g, ipodtouchthirdgen, ipodtouchthirdgen, ipodtouchthirdgen, ipodtouchthirdgen, iphone4, iphone4, iphone4, iphone4, ipodtouchfourthgen, ipodtouchfourthgen, ipodtouchfourthgen, ipodtouchfourthgen, ipad2wifi, ipad2wifi, ipad2wifi, ipad2wifi, ipad23g, ipad23g, ipad23g, ipad23g, iphone4s, iphone4s, iphone4s, iphone4s, ipadthirdgen, ipadthirdgen, ipadthirdgen, ipadthirdgen, ipadthirdgen4g, ipadthirdgen4g, ipadthirdgen4g, ipadthirdgen4g, iphone5, iphone5, iphone5, iphone5, ipodtouchfifthgen, ipodtouchfifthgen, ipodtouchfifthgen, ipodtouchfifthgen, ipadfourthgen, ipadfourthgen, ipadfourthgen, ipadfourthgen, ipadfourthgen4g, ipadfourthgen4g, ipadfourthgen4g, ipadfourthgen4g, ipadmini, ipadmini, ipadmini, ipadmini, ipadmini4g, ipadmini4g, ipadmini4g, ipadmini4g
Total downloads0
Price$1.99

Description

Welcome to BOTwaR, a game where you must decide your strategy before the battle. Unlike most games where you control the action on the screen directly, in BOTwaR, you write a battle program and then stand back and watch as your program competes against other programs. The last robot standing is the winner.In BOTwaR, you control a robot by programming it in JavaScript. Here's a complete example of a battle program (called BOTTOM) that you can challenge:function main(robot) { if (robot.isFirstIteration()) robot.moveTo(0,100); if (robot.atDestination()) { if (robot.getX() == 0) robot.moveTo(100,100); if (robot.getX() == 100) robot.moveTo(0,100); } var d = robot.ping(-90); if (d > 0.0) robot.fire(-90);}Battle several BOTs in one arena. Comes pre-loaded with several battle programs to compete against and examine (code is included). Code can be edited and debugged inside the game.Note: This game does not teach you the JavaScript programming language, but it does include examples to get your started. There are lots of JavaScript tutorials on the web.

Similar programs

Alternatives

More from this publisher