okay fixed weird bug

This commit is contained in:
Chris Nutter committed 2020-09-10 22:10:08 -07:00
1 parent f998c153f0
commit 09327b855f
29 files changed
+101142 -557

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
TP Ant Setup
by Charles Siska - Saturday, September 5, 2020, 6:39 PM
Number of replies: 0
TP Ant Setup
1. "Initially, the grid is all black and the Ant is in the center cell,
heading North (toward the top)."
2. "initialize a 41 by 41 square grid to have all cells black (state 0).
The lone Ant should be in the center cell."
TP Ant First "Move"
3. "it first notices the color of the cell it is on and then changes its
direction/heading based on this color,"
BEFORE Doing Any Move
4. "then 'increments' the color of the cell under it to the next color
in sequence"
FROM Black to The Next Color
5. "finally moves one cell in its new direction"
Which Was Set in Step #4, Above.
Hope this helps.