Etoy issues

Bob Arning arning at charm.net
Fri Jan 24 08:01:08 PST 2003


On Fri, 24 Jan 2003 01:19:04 -0800 Jahanzeb Sherwani <jahanzeb at lums.edu.pk> wrote:
>4) A kid wants to know how to make chess, I want to know how to make
>tetris. Is there any way we can see and understand the way these objects
>were created for Squeak so that we can make them ourselves too?

Jahanzeb,

There certainly is, but it's something rather different from the tile-based programming you have been discussing in your emails.

- open a browser (world menu/open/browser)
- in the top-left pane select Morphic-Games
- in the next pane to the right, there are three classes: Tetris, TetrisBlock and TetrisBoard. Select one of these
- in the top-right pane are the methods in that class. Select one and the code for that method will appear in the bottom pane.

This will let you see how Tetris was created. Learning how to make one yourself is the subject of a somewhat longer discussion. ;-)

Cheers,
Bob



More information about the Squeakland mailing list