Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.03 KB

File metadata and controls

49 lines (28 loc) · 1.03 KB

Tic-Tac-Toe with AI

A modern, AI-powered Tic-Tac-Toe game built with TypeScript and Next.js.

Features

  • Responsive, animated game board
  • AI opponent with adjustable difficulty (minimax algorithm)
  • Move history and replay functionality
  • Game analysis powered by Groq's LLM
  • Statistics tracking and timer

Technologies

  • Next.js and TypeScript for the application
  • Tailwind CSS for styling
  • Framer Motion for animations
  • Groq API for game analysis

Getting Started

  1. Clone the repository:

    git clone https://github.com/Pieter1821/TicTacGenius.git cd TicTacGenius

  2. Install dependencies:

    npm install

  3. Set up environment variables: Create a .env.local file and add your Groq API key:

    GROQ_API_KEY=your_groq_api_key_here

  4. Run the development server:

    npm run dev

  5. Open http://localhost:3000 in your browser.

License

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

Made with ❤️ by Pieter Deane