s LearnSqueak.com

LEARN BY BUILDING GAMES

Simple Games

Build small native games in Squeak, one working step at a time. Start with Breakout, follow an object-oriented maze, add gravity in a platformer, then build a 3D corridor game and an endless runner.

Native SqueakStep-by-step sourceTests & exercises

Five games to build

Run the games in Squeak

These are native Squeak programs. The tutorial pages show their construction and provide source files; gameplay runs inside your Squeak image. Each lesson includes real screenshots and optional animated demonstrations.

  1. Use the start-here guide to install Squeak and keep a separate learning image.
  2. Read the chosen lesson’s setup section, file in its complete source, then evaluate its launcher in a Workspace.
  3. Work through the checkpoints in order. Each lesson explains which files and code belong together.
  4. Try the exercises and run the supplied tests before changing the rules further.

New to Smalltalk? Start with messages and blocks, classes and instances, then drawing with Morphic.

Build the supporting skills

Explore games already in the image

The built-in demos lesson launches bundled games such as Mines, SameGame and Tetris. Use it to explore existing Morphic examples before building your own. The visual object reference documents the registered catalog with tested examples and explicit limitations.

For more application projects and downloadable sources, visit the complete example gallery.