A modern, AI-powered Tic-Tac-Toe game built with TypeScript and Next.js.
- 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
- Next.js and TypeScript for the application
- Tailwind CSS for styling
- Framer Motion for animations
- Groq API for game analysis
-
Clone the repository:
git clone https://github.com/Pieter1821/TicTacGenius.git cd TicTacGenius
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.localfile and add your Groq API key:GROQ_API_KEY=your_groq_api_key_here
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by Pieter Deane