[Thread Prev] [Thread Next]
I have a student who is trying to create a game of life in Logo. She has a
grid down (8x8 for starters) and can mark the squares black or white to begin.
Does anyone know a way she can scan the first row in groups of three and then
choose an instruction on the basis of the result mark the second row according
to a set of rules.=20=20
Did I ask that question so that it is coherent? Let me try again.
The conditions in one row determine the conditions in the second row. Each
cell can be either black or white. If:
cell one, row one is white
cell two row one is black
cell three in row one is white
then:
cell two in row two is black
We have a series of such rules (8).
Now how can I scan row one to set the colors in row two?
Anyone done this before or have any ideas?
Previous by thread:
Some links
Next by thread:
Re: Game of Life
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|