Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.32 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.32 KB

Stacker

Stacker is an arcade game where the goal is to build a stack of blocks as high as possible.

Stacker game

At each level, a row of blocks moves sideways and the user has to lock the blocks in place (using the SPACE key) and timing it so that it aligns with the previous level. Blocks that don't align are lost and if no blocks aligned at all, the player loses.

As the levels increase, the blocks move faster making timing even more critical.

This program was written in the Jack language for project 9 in the nand2tetris course.

Install

Download the software suite from nand2tetris. The compiler and emulator are required as Jack programs run on the Hack hardware platform.

Build & Execution

  1. In the command line run:
JackCompiler.bat
VMEmulator.bat

replacing .bat with .sh for Mac/Linux

  1. In the menu, goto File > Load Program and choose the directory containing the vm files.
  2. Click yes in the confirmationg dialog
  3. In the toolbar, choose No animation in the Animate dropdown
  4. In the toolbar, click the double right arrows (3rd icon)
  5. Play the game!