please help

Jump to navigation Jump to search

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
 

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Jlflour/please help/reply (2).

 

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