Wednesday, September 9, 2009

Robocode *****&&%%%%^^&**^%

Oh my, robots have taken over my mind... This assignment was tough on some parts and easy on others. To look at my code click here. The assignment had robots that had to do nothing and robots that had to track another robot and follow them or shoot them. IT WAS CRAZY TO FIGURE OUT ALL THE METHODS. aaaaahhhhhhh. But in the end when the robot worked, I understood very well how the robot works.

Experiences

Some robots needed a little bit of math. I have forgotten some basics of math and i needed to refresh it by looking it up in google. For example, the robot for Movement05 needed to move to one corner and move to the opposite corner. I forgot the basic a^2 + b^2 = c^2. I just needed the distance c to move across the board. lol But it was a funny refresher. Other codes needed some sitting back and thinking because they needed to do things specially. For example the tracking robots, they needed to scan the field and follow the robot it scanned.

Future build

From learning basic movements, tracking, and firing, I think that when we have to make a competitive robot, I will be able to last for a while. I would make my robot be able to recognize fired bullets and dodge them.

No comments:

Post a Comment