Smalltalk the fun way
Appearance
The title of this book could be interpreted in two ways:
- It will teach you Smalltalk by programming games, and having fun at it
- We Smalltalk lovers consider this language to be the fun way :-)
Book Contents
[edit | edit source]- Smalltalk crash-course
- Phraro crash-course
Basic games:
TiledMorph-based games:
- Introduction to TiledMorph
- Sliding-puzzle Game
- Memory
- Decrypt the message
- Lynx (lince)
- Tic-Tac-Toe
- Battleship
- Hangman
- Minesweeper
- Who-is-who
- Tetris
- Sokoban
- Maze-game
- Pac-Man
Game aspects:
- Graphics
- Animation
- Sound
- Logic
- Game-Loop
- Game status
- Game Data
- Multiplayer games
- Releasing
Non-TileMorph-based games:
- Spot the difference
- Hidden objects
- Quiz-Game
- Multiple choice
- Audio
- Re-ordering
- Matching
- Adventure game
Notes
[edit | edit source]Required Knowledge
[edit | edit source]We assume that you:
- have some programming knowledge
- are familiarized with Smalltalk concepts
- know how to download and open a Pharo environment
- can find your way around in a Pharo environment
If you lack this prior knowledge, we advise that you read and learn about these topics here:
Environment used
[edit | edit source]The code in this book has been written in Pharo 1.4:
It should also work in Squeak 4.3 with little or no modifications.