# Tetris **Repository Path**: mirrors/Tetris ## Basic Information - **Project Name**: Tetris - **Description**: Tetris 是一个使用 Zig 编程语言开发的俄罗斯方块的游戏   游戏控制 Left/Right/Down Arrow - 移动方块 left/right/down. Up A - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-05-10 - **Last Updated**: 2026-01-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 ```