Skip to content

Halip26/tictactoe-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe GUI

This is a simple Tic Tac Toe game with a graphical user interface (GUI) built using Python.

Project Structure

tictactoe-gui/
│
├── main.py
├── game_logic.py
├── gui.py
├── README.md
└── requirements.txt

Files

  • assets/: Contains image assets for the graphical version of the game.
  • LICENSE: MIT License for the project.
  • requirements.txt: Lists the dependencies required to run the Pygame version.
  • tictactoe_oop.py: Object-oriented implementation of Tic Tac Toe using Pygame.
  • tictactoe-numpy.py: Implementation of Tic Tac Toe using NumPy for board management.
  • tictactoe.py: Basic implementation of Tic Tac Toe using Pygame.

Requirements

  • Python 3.12.4
  • Tkinter (usually included with Python)

To install the required dependencies, run:

  • Clone the repository:
git clone https://github.com/Halip26/tictactoe-gui.git
  • Installation
pip install -r requirements.txt

Running the Games

Console Version with NumPy

To run the console version using NumPy:

python tictactoe-numpy.py

Graphical Version with Pygame

To run the graphical version using Pygame:

python tictactoe.py

Object-Oriented Graphical Version with Pygame

To run the object-oriented graphical version using Pygame:

python tictactoe_oop.py

License

This project is licensed under the MIT LICENSE.

About

A simple Tic Tac Toe game implemented using Python with a graphical user interface (GUI).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages