-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
| First, this method toggles the state of the current cell. Then it sends the message ==value== to the object stored in the instance variable ==mouseAction==. In ==LOGame >> newCellAt: i at: j== we created the block ==[self toggleNeighboursOfCellAt: i at: j ]== which will all the neighbors of a cell when it is evaluated, and we assigned this block to the ==mouseAction== instance variable of the cell. Therefore sending the ==value== message causes this block to be evaluated, and consequently the state of the neighboring cells will toggle. |
which will all the neighbors of a cell when it is evaluated
Looks like a verb is missing
5 @ 5
Later in text referenced as 50 @ 50
and if even if we thought we did know
I'm not sure about this one, but looks weird to me
Metadata
Metadata
Assignees
Labels
No labels