|Thread title||Replies||Last modified|
|please help||4||18:23, 14 March 2013|
I'm new to coding and would like someone to refer me to a link that can help teach me how to "write" my first code for my first robot. All the websites and blogs I've seen just show peoples codes but I don't understand what they did to change anything. -Thanks
You only need to make the thread in one place. Far as I aware, most of us are in the Eastern Standard Time Zone (GMT-5), so we might not be able to respond immediately.
As for robot, well they are written in java, so a basic primer on java programming might be helpful. If you have never programmed before you might want to read into it first. It is a pretty abstract science.
Aside from that, a robot is just a Java Class with special methods corresponding to specific events that robot may encounter. Such as the onScannedRobot event which occurs when an enemy is scanned, or the run() method which occurs when the robot is started.
Browsing the wiki is a great way to learn more about it. Robocode/My_First_Robot is a good starting page.
For Java specifically, the primer Chase linked to looks good. If you're totally new to programming, something like Codecademy might be another good place to start. Feel free to post here if you have specific questions.
Playing with Robocode is a very good way to learn about Java and programming in general.
I agree with Skotty that the best way to learn about Robocode is to absorb as much of this wiki and the Robocode API as you can. Robocode/Game Physics, Robocode/My First Robot, and the Robocode API are the best places to start.
It's also a good idea to learn about how robots work by reading other robots' code. The Sample bots and the Super Sample Bots are a good start.