This Tetramino game is a project inspired by "Gagne ton papa" for the INFO-F106 course at ULB. It is a console-based game where players can place tetraminos on a grid to win the game.
- Stylish console-based Tetramino game.
- Move tetraminos, rotate them, and place them on the grid.
- Win the game by correctly placing all tetraminos on the grid.
- Clone the repository:
git clone https://github.com/amineflex/tetramino-py.git
cd tetramino-py
- Run the game:
python3 tetramino_game.py <carte_1.txt>
# You can select the card already present in the file or create one
Replace <carte_1.txt>
with the path to your card file.
- To win the game, place all the tetraminos on the grid.
- Use the numbers '1' to '8' to select a tetramino.
- Move a tetramino using the keys 'i', 'j', 'k', 'l'.
- Rotate a tetramino using the keys 'u' and 'o'.
- Validate a move by pressing 'v'.
- To quit the game, press 'q'.
Follow the Getting Started section to set up and run the Tetramino game.
Contributions are welcome! If you find any issues or have suggestions, please open an issue or create a pull request.
This game is made after a project for my school work! Feel free to try it, copy it or modify it as you like!