This project is a TicTacToe game against an AI opponent that is impossible to beat.
This project was created to practice my algorithmic skills, it implements the MiniMax algorithm for the AI which calculates all possible values and returns the best moves based on each outcome, it tries to maximise the outcome each move.
To install Project Title, follow these steps:
- Clone the repository:
git clone https://github.com/username/ttt-minimax-algorithm.git
- Navigate to the project directory:
cd ttt-minimax-algorithm
- Install dependencies:
npm install
To use Tic Tac Toe Minimax Algorithm, follow these steps:
- Open the project in your favorite code editor.
- Modify the source code to fit your needs.
- Run the project
npm run dev
If you'd like to contribute to Project Title, here are some guidelines:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes.
- Write tests to cover your changes.
- Run the tests to ensure they pass.
- Commit your changes.
- Push your changes to your forked repository.
- Submit a pull request.
Project Title is released under the MIT License. See the LICENSE file for details.
Project Title was created by Rakibul Bhuiyan.
Q: What was used for the backend code?
A: I used Next.js' Server Actions so it was coded in TypeScript.
If you have any questions or comments about Project Title, please contact Rakibul Bhuiyan.