8000 GitHub - Sir-Eddy/TicTacToe: A Command Line Game with AI Opponent in Python.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sir-Eddy/TicTacToe

Repository files navigation

TicTacToe 🐍

Commit Activity Language Repo Size Open Source

Overview

This is an implementation of the classic game Tic-Tac-Toe on the command line for two players, including an AI option.

Characteristics

  • Implemented in Python.
  • Use of object-oriented programming.
  • Design according to the Model View Presenter (MVP) architectural pattern.

Features

  • Two-Player Mode: Play against a friend on the command line.
  • Save and Load: Save the current game state and load it later.
  • Game AI: Play against an AI, controlled either by your own heuristics or the minimax algorithm.
  • Unit Tests: Comprehensive tests to ensure the correct functionality of the business logic.
  • PEP8-Compliant: The code follows PEP8 guidelines for clean and readable code.

Installation

  1. Clone the repository:
    git clone https://github.com/Sir-Eddy/TicTacToe.git
  2. Navigate to the project directory:
    cd TicTacToe

Usage

  1. Start the game:
    python app.py
  2. Follow the command line instructions to play the game or load a saved game state.
  3. Enjoy playing!

About

A Command Line Game with AI Opponent in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0