Difference between revisions of "Robocode 1"
From CompSciWiki
Line 10: | Line 10: | ||
- How to download, install. | - How to download, install. | ||
{{CodeBlock | {{CodeBlock | ||
− | |Code= int main(){ int x = 3;} | + | |Code=int main(){ int x = 3;} |
}} | }} | ||
Revision as of 12:16, 29 March 2012
COMP 1010 Home > Back to Extra Labs
IntroductionIntroduction to Robocode 1
|
---|
Installation
- How to download, install.
int main(){ int x = 3;}
The Robot Console
Sample battle
- To see what the program actually does (sample.MyFirstRobot, sample.RamFire, sameple.Tracker)
Create your first Robot
Making the Robot Move
Firing on Other Robots
Additional Methods
- run(), onSeannedRobot() and onHitByBullet()
Compiling your Robot
Battle your Robot
- This is what you would have to show the TA, that your Robot can defeat a default one.