Skip to content

Tic-Tac-Toe AI is a simple and minimal web-based tic-tac-toe game where you can choose X or O and play against an AI opponent.

License

Notifications You must be signed in to change notification settings

sansalgo/tic-tac-toe-ai

Repository files navigation

Tic-Tac-Toe AI

Tic-Tac-Toe AI is a simple and minimal web-based tic-tac-toe game where you can choose X or O and play against an AI opponent. The AI is powered by the Minimax algorithm, ensuring a smart and unbeatable gameplay experience. The app is built using Nuxt, Vue, and TailwindCSS.

Table of Contents

Introduction

This project is a classic tic-tac-toe game with an AI opponent. You can pick your side (X or O) and challenge the AI, which uses the Minimax algorithm to make optimal moves. The interface is clean, fast, and responsive, offering a simple yet engaging game experience.

Features

  • Play as X or O
  • Smart AI powered by Minimax algorithm
  • Minimal and responsive UI
  • Built for quick and casual gameplay

Tech Stack

  • Framework: Nuxt (Vue)
  • Styling: TailwindCSS
  • AI Logic: Minimax Algorithm

How to Run

  1. Clone the repository:

    git clone https://github.com/sansalgo/tic-tac-toe-ai.git
    cd tic-tac-toe-ai
  2. Install dependencies:

    pnpm install
  3. Start the development server:

    pnpm run dev
  4. Open your browser and go to:

    http://0.0.0.0:3000
    

Screenshots

Tic-Tac-Toe Screenshot

Live Demo

Play now: Tic-Tac-Toe AI Live

Contributing

Contributions are welcome! If you find bugs or have feature suggestions, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License – see the LICENSE file for details.

About

Tic-Tac-Toe AI is a simple and minimal web-based tic-tac-toe game where you can choose X or O and play against an AI opponent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published