Skip to content

acitate/QTic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A simple Tic Tac Toe game written in Python using PySide.

Overview

This project implements a classic Tic Tac Toe game with two play modes:

  • Player vs Player (local)
  • Player vs AI

Project Structure

project/
│
├── ui/
│   ├── __init__.py
│   ├── main_app.py
│   └── ui_mainwindow.py
│
├── game/
│   ├── __init__.py
│   ├── board.py
│   ├── game_state.py
│   └── rules.py
│
├── ai/
│   ├── __init__.py
│   ├── ai_player.py
│   ├── random.py
│   └── minimax.py
│
└── main.py

Running the Project

Requirements

  • Python 3.14
  • PySide6

Clone the project:

git clone https://github.com/acitate/QTic-tac-toe.git

Change directory:

cd QTic-tac-toe


1. Using uv:
Run:

uv run main.py


2. Using pip:
Install dependencies:

pip install PySide6

Run:

python main.py

About

A simple Tic Tac Toe game in QT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages