https://github.com/fursich/jacktris
a tetris-like block game implemented in Jack language
https://github.com/fursich/jacktris
game jack jack-language nand2tetris tetris
Last synced: 7 months ago
JSON representation
a tetris-like block game implemented in Jack language
- Host: GitHub
- URL: https://github.com/fursich/jacktris
- Owner: fursich
- Created: 2020-04-27T16:59:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T15:33:01.000Z (about 6 years ago)
- Last Synced: 2025-05-22T23:37:02.439Z (about 1 year ago)
- Topics: game, jack, jack-language, nand2tetris, tetris
- Language: Shell
- Homepage: https://github.com/fursich/jacktris
- Size: 69.3 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
training repository for block game implemented in Jack
# Jacktris
[](https://j.gifs.com/1Wo6po.gif)
## getting started
To run the game, you need to install VM Emulator on JVM.
1. Install Java
2. download the official (Nand2tetris Software Suite](https://www.nand2tetris.org/software)
3. run VMEmulator.sh
4. [File] -> [Load Program] -> select source/Tetris of this repository -> press [Load Program]
5. When confirmation message pops up, press `Yes` (for better game speed, master brand relies on the build-in OS)
6. Set [Animate] select box as 'No animation', and press [>>] button
7. Hit Enter key to start.
8. Now you are ready to go!
9. To resume after gameover, hit [<<] and then [>>].
## how to play
Enter ... start the game
← ... move left
→ ... move right
↑ ... rotate clockwise
Z ... rotate counter-clockwise
↓ ... soft drop
Space ... hard drop
## for compilation
For re-compilation of the source code, you'll need a Jack compiler.
A working compiler sample can be found [here](https://github.com/fursich/hack_jack_compiler).
Origial ideas of HACK/Jack architecture are given by:
## The Elements of Computing Systems
- basic ideas/tools are introduced at:
https://www.nand2tetris.org/
- see the publisher's link for datails:
http://mitpress.mit.edu/books/elements-computing-systems
https://www.oreilly.co.jp/books/9784873117126/