tetris in zig
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
Keys:
Up
,w
: rotate current shapeDown
,s
: move shape downLeft
,a
: move shape leftRight
,d
: move shape right
This project uses Zig 0.13.0