User Tools

Site Tools


cs175:robocode_lab_-_nearestwallbot1

NearestWallBot1


1. Develop a workable algorithm to move a robot to the nearest wall. A robot can know the following data that can be used for this algorithm:

2. Implement the algorithm in NearestWallBot1.

3. Reimplement the algorithm in a void method called goNearestWall that can be called from the robot's main loop. Add goNearestWall to MethodBot1.

Link to algorithm

Link to source code


cs175/robocode_lab_-_nearestwallbot1.txt · Last modified: 2014/10/14 22:10 by jchung

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki