X-Tetris is a different implementation of the original Tetris game, written entirely in ANSI C. The project was developed by me as part of the IAP course at the University of Venice.
It runs entirely in the terminal and relies solely on the C standard library, requiring no external dependencies, making it lightweight and easily portable across platforms.
- Simple and intuitive interface
- Player vs CPU
- Multiplayer
- C compiler
- Make
-
Clone the repository:
git clone https://github.com/Zanotto-Enrico/XTetris.git
-
Compile the game using
make
:cd XTetris make
-
Run the game:
./X-Tetris
- Arrow keys to move the blocks.
- R to rotate the blocks.
- Enter to position the block
This project is open-source and available under the MIT License.