A simple tetris clone written in zig programming language.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets prettier score display Feb 7, 2016
src update to latest zig Jun 19, 2018
.gitignore add zig-cache/ and tetris to gitignore Apr 28, 2017
README.md build: add play step May 1, 2017
build.zig update to latest zig Jun 14, 2018

README.md

Tetris

A simple tetris clone written in zig programming language.

YouTube Demo.

Windows 64-bit build

Controls

  • Left/Right/Down Arrow - Move piece left/right/down.
  • Up Arrow - Rotate piece clockwise.
  • Shift - Rotate piece counter clockwise.
  • Space - Drop piece immediately.
  • R - Start new game.
  • P - Pause and unpause game.
  • Escape - Quit.

Dependencies

Building and Running

zig build play