Thread history

From User talk:Jlflour
Viewing a history listing
Jump to navigation Jump to search
Time User Activity Comment
09:02, 14 March 2013 Jlflour (talk | contribs) New thread created  
11:17, 14 March 2013 Chase-san (talk | contribs) New reply created (Reply to please help)
11:22, 14 March 2013 Chase-san (talk | contribs) Comment text edited  
11:24, 14 March 2013 Chase-san (talk | contribs) Comment text edited  
12:37, 14 March 2013 Skotty (talk | contribs) New reply created (Reply to please help)
14:55, 14 March 2013 Voidious (talk | contribs) New reply created (Reply to please help)
17:23, 14 March 2013 Sheldor (talk | contribs) New reply created (Reply to please help)

please help

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

Jlflour09:02, 14 March 2013

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.

Chase11:17, 14 March 2013
 

Browsing the wiki is a great way to learn more about it. Robocode/My_First_Robot is a good starting page.

Skotty12:37, 14 March 2013
 

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.

Voidious14:55, 14 March 2013
 

Welcome, Jlflour.

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.

Good luck.

Sheldor17:23, 14 March 2013