====== CircleBot1, ZigBot1, RandomTurnBot1 ====== ---- ===== CircleBot1 ===== In Robocode, create CircleBot1 which does the following: * Runs in a circle. * Must use an int instance variable to change direction of circle. [[https://piazza.com/class_profile/get_resource/hzkswvpxv2r2nu/i0hcop0m89m1u5|Link to source code]] ===== ZigBot1 ===== In Robocode, create ZigBot1 which does the following: * Runs in a zigzag pattern by turning right 45° during one turn and then turning left 45° during the next turn, and so on. [[https://piazza.com/class_profile/get_resource/hzkswvpxv2r2nu/i0hcpk2giqn29g|Link to source code]] ===== RandomTurnBot1 ===== Using what we covered in the [[using_objects_lab|Using Objects lab]], create RandomTurnBot1 which does the following: * Does //one// of the three following things //at random// during a turn: * turn right 45°, go ahead by 50 * turn left 45°, go ahead by 50 * don't turn, go ahead by 50 [[https://piazza.com/class_profile/get_resource/hzkswvpxv2r2nu/i0hcpnrg3st2f1|Link to source code]] ----