Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

JAVA Langton Ant Sim

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~

Name: Anonymous 2013-04-21 1:07

>>1
~kickflips away from u~

what.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List