Name: Anonymous 2013-04-21 0:28
hey so I just started university and I'm taking an intro to programming course and SUCKING at it so far
my first assignment is to recreate the Langton Ant simulation on a grid of colored cells
RULES:
>>Move forward one space. If this movement would cause it to move off the grid, the simulation is completed
>>Rotate depending on the state of the cell the ant is occupying: if the cell is white, rotate left; otherwise, rotate right
>>Change the state of the cell the ant is currently occupying: if the cell is white, it becomes black, and if it is black, it becomes white.
I need help. can someone help?
thanks ~kickflips away from u~
my first assignment is to recreate the Langton Ant simulation on a grid of colored cells
RULES:
>>Move forward one space. If this movement would cause it to move off the grid, the simulation is completed
>>Rotate depending on the state of the cell the ant is occupying: if the cell is white, rotate left; otherwise, rotate right
>>Change the state of the cell the ant is currently occupying: if the cell is white, it becomes black, and if it is black, it becomes white.
I need help. can someone help?
thanks ~kickflips away from u~