The Matrix classed used in the LightsOut example no longer exists as of Pharo 8 (instead, there's Array2D) and the mouseAction in the SimpleSwitchMorph seems to have been replaced by a more complicated mechanism involving a target, actionSelector, and arguments.
Since I'm a complete beginner, my code probably isn't worth incorporating directly, but maybe it'll save someone a bit of time on the next draft:
The
Matrix
classed used in the LightsOut example no longer exists as of Pharo 8 (instead, there'sArray2D
) and themouseAction
in theSimpleSwitchMorph
seems to have been replaced by a more complicated mechanism involving atarget
,actionSelector
, andarguments
.Since I'm a complete beginner, my code probably isn't worth incorporating directly, but maybe it'll save someone a bit of time on the next draft:
PBE-LightsOut.st.txt