Skip to content

4zv4l/tetris

Repository files navigation

tetris

tetris in zig

Run the game

The game can be played in single-player or multi-player.

  • Single player
./tetris
  • Multi player
./tetris [your listen address] [player address ...]

Multi player uses UDP to sync boards and scores

Play the game

Keys:

  • Up, w: rotate current shape
  • Down, s: move shape down
  • Left, a: move shape left
  • Right, d: move shape right

Zig version

This project uses Zig 0.13.0