Skip to content
A simple tetris clone written in zig programming language.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets prettier score display Feb 7, 2016
src refactor dissolve fn getRandomSeed Apr 7, 2019
.gitignore add zig-cache/ and tetris to gitignore Apr 28, 2017
README.md build: add play step May 1, 2017
build.zig fix build script Mar 9, 2019

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
You can’t perform that action at this time.