Welcome to Tatetí, a classic two-player game where the objective is to get three of your marks in a row on a 3x3 grid. This project is an implementation of the Tatetí game in Python, utilizing structured programming principles.
- Features
- Installation
- Usage
- Game Symbols
- Images
- File Structure
- Technologies
- Contributing
- License
- About This Project
- Classic Tatetí gameplay with a 3x3 grid
- Two-player mode (Player vs Player)
- Graphical interface with intuitive controls
- Detects win conditions and draws
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/SebaB29/tateti.git
-
Navigate to the project directory:
cd tateti -
Run the game:
python main.py
To play the game, simply click on the grid to place your mark (❌ or ⭕️) in an empty cell. The game alternates between the two players until one player wins or the game ends in a draw.
- Player 1: "❌" (X)
- Player 2: "⭕️" (O)
The project structure is as follows:
Tateti/
├── graphics/
│ ├── gamelib.py
│ └── inter_gráfica.py
├── img/
│ └── [2 demo images of the game]
├── src/
│ └── tateti.py
├── main.py
├── LICENSE
├── README.md
└── .gitignore
- graphics/: Contains libraries for rendering the game (gamelib and graphical logic).
- img/: Includes demo images showcasing the game's functionality.
- src/: Contains the source code file for game logic (tateti).
- main.py: The entry point of the application.
This project is built with:
- Python
- Gamelib (A library created by the instructor to facilitate the use of threads and rendering for the interface)
Contributions are welcome! If you'd like to improve the game, feel free to fork the repository and submit a pull request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a pull request
Distributed under the MIT License. See LICENSE for more information.
This project is an implementation of the classic Tatetí game in Python, focusing on game logic and graphical interface through structured programming principles.

