Skip to content

vast-community-hub/retro-games-vast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retro Games for VAST Platform (VA Smalltalk)

Retro games implemented with VA Smalltalk!
Report a defect | Request feature

Small collection of retro games (Pacman, Snake, BattleShip, etc.) implemented with VA Smalltalk. Excellent examples for showing what you can do and for learning GUI development. Watch out some screenshots to get an idea!

Retro Games Collage

Retro Games Tetris

License

  • The code is licensed under MIT.
  • The documentation is licensed under CC BY-SA 4.0.

Installation

  1. Install VA Smalltalk 9.2.1 or newer.
  2. Install Tonel support in your development image following this guide.
  3. Clone this repository.
  4. The easiest and recommended approach is to install it via a script:
| loader path |
path := (CfsPath named: '<insert path to root retro-games-vast local repo here>').
loader := TonelLoader readFromPath: path.
loader
	beUnattended; "do not prompt and use all defaults"
	useGitVersion.
loader loadAllMapsWithRequiredMaps.

Or you can load the Configuration Map Retro Games from the context menu of the Configuration Maps Browser: "Import" -> "Load Configuration Maps from Tonel repository..." -> select path to root retro-games-vast local repo. This will open a dialog and will use convenient defaults for the load. Refer to its documentation for more details.

Playing

Below is a script to start each game. They all have the same API:

BattleshipWindow new open.
LightCyclesWindow new open.
MastermindWindow new open.
MinesweeperWindow new open.
PacmanWindow new open.
SnakeWindow new open.
STCalculator new open.
TowerOfHanoiWindow new open.
TetrisGameView new openInShellView.

Contributing

Check the Contribution Guidelines

Acknowledgments

  • Lee Clayberg for all the initial development of this project.
  • Julian Ford for the Tetris code.