Skip to content

SebaB29/TATETI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tatetí Game ❌⭕️

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.

📜 Table of Contents

🕹️ Features

  • Classic Tatetí gameplay with a 3x3 grid
  • Two-player mode (Player vs Player)
  • Graphical interface with intuitive controls
  • Detects win conditions and draws

🚀 Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/SebaB29/tateti.git
  2. Navigate to the project directory:

    cd tateti
  3. Run the game:

    python main.py

🎮 Usage

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.

⚙️ Game Symbols

  • Player 1: "❌" (X)
  • Player 2: "⭕️" (O)

📷 Images

Img Tatetí Img Ganador

📁 File Structure

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.

🛠️ Technologies

This project is built with:

  • Python
  • Gamelib (A library created by the instructor to facilitate the use of threads and rendering for the interface)

🤝 Contributing

Contributions are welcome! If you'd like to improve the game, feel free to fork the repository and submit a pull request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

📄 License

Distributed under the MIT License. See LICENSE for more information.

📚 About This Project

This project is an implementation of the classic Tatetí game in Python, focusing on game logic and graphical interface through structured programming principles.

About

Implementación en Python del clásico juego de Tatetí con controles sencillos.

Topics

Resources

License

Stars

Watchers

Forks

Languages