Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrewrk/tetris

A simple tetris clone written in zig programming language.
https://github.com/andrewrk/tetris

game zig

Last synced: about 2 months ago
JSON representation

A simple tetris clone written in zig programming language.

Awesome Lists containing this project

README

        

# Tetris

A simple tetris clone written in
[zig programming language](https://github.com/andrewrk/zig).

![](http://i.imgur.com/umuNndz.png)

## Controls

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

## Dependencies

* [Zig compiler](https://github.com/andrewrk/zig) - use the debug build.
* [libepoxy](https://github.com/anholt/libepoxy)
* [GLFW](http://www.glfw.org/)

## Building and Running

```
zig build play
```