Skip to content

A few typos at FirstApplication #18

@alex-bender

Description

@alex-bender

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


https://github.com/SquareBracketAssociates/NewPharoByExample9/blob/e184a12b3ae769ed5eb164d1c3e5ed2a51326451/Chapters/FirstApplication/FirstApplication.pillar#L165C16-L165C21

5 @ 5

Later in text referenced as 50 @ 50


https://github.com/SquareBracketAssociates/NewPharoByExample9/blob/e184a12b3ae769ed5eb164d1c3e5ed2a51326451/Chapters/FirstApplication/FirstApplication.pillar#L225C1-L225C872

and if even if we thought we did know

I'm not sure about this one, but looks weird to me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions