cs175:robocode_lab_-_methodbot1
MethodBot1
In robocode, create MethodBot1. MethodBot1 should have the following void methods defined from previous robots:
- moveDefault: Moves robot in the default (beginner) pattern
- moveCircle: Moves robot in a circle
- moveFigure8: Moves robot in figure eight pattern
- moveZigzag: Moves robot in zigzag pattern (45° left and right)
- moveRandom: Moves robot in a random pattern (45° left and right)
You should be able to call any of these methods from the robot main loop.
See robot source code.
cs175/robocode_lab_-_methodbot1.txt · Last modified: 2014/10/03 02:19 by jchung