The goal of this game is to build a molecule using the given atoms.
The game will show a preview of the molecule to build on the top right corner. You can select an atom with a mouse click or by pressing the [TAB] key. You can move the atoms by pressing any of the cursor keys. Once an atom start moving, it cannot be stopped. It will only stop once it hits the wall or another atom. For that reason you must strategically decide which atoms to move and in which order.
This game was inspired on Atomix, from Ubuntu Linux.
To open the GitHub Page click here
Version 1: Implemented on 2005 on Smalltalk Squeak.
Version 2: Updated on 2015, but due to the use of Matrix class only ran in Pharo up to version 6.
Version 3: Updated on 2020, replaced Matrix class with Array2D and runs in Pharo 8 without error.
- Download with GitHub as expected.
- Otherwise use Iceberg to download the package into your image.
- Download the .st file and apply it.
Open the playground and run:
AtomicGame new openInWorld.
Gustavo Pistoia
This was actually my first project in Smalltalk. I started coding this game somewhere in 2005 as a way of learning Smalltalk.
This project is licensed under the MIT License - see the LICENSE file for details.
- The Pharo community, for always answering questions and providing constant support.
- Stephane Ducasse, who make a few code changes to keep it running back in 2015.
- Guilherme de S. Pastore & Robert Roth, who I just found out were the coders of Atomix for Linux.
