This repository contains a collection of AI-based mini projects. Each project demonstrates the application of different AI algorithms and techniques. Currently, the repository includes the following projects:
More projects will be added in the future.
This project is a GUI-based implementation of the classic Tic Tac Toe game, featuring an AI opponent that uses the minimax algorithm to make optimal moves.
- Play against an AI opponent
- User-friendly graphical interface using Tkinter
- Game board display
- Win condition checks
- Restart functionality
Tic-Tac-Toe.Ai.video.mp4
src/tictactoe.py
: Main entry point of the game, handling the game loop and user input.requirements.txt
: Lists the dependencies required for the project.
- Clone the repository:
git clone https://github.com/KishanVyas308/Ai-Mini-Projects.git
- Navigate to the Tic Tac Toe project directory:
cd Ai-Mini-Projects/Tic-Tac-Toe-With-AI
- Install the required dependencies:
pip install -r requirements.txt
To start the game, run the following command:
python src/tictactoe.py
Enjoy playing Tic Tac Toe against a challenging AI!
This project demonstrates the implementation of various search algorithms to solve a maze. The maze is represented as a grid, and the algorithms find the path from the start point 'A' to the end point 'B'.
- Depth-First Search (DFS)
- Breadth-First Search (BFS)
- Visualization of the maze and the solution path
maze-algo.mp4
maze.py
: Main script to run the maze solver.maze1.txt
: Example maze file.
- Clone the repository:
git clone https://github.com/KishanVyas308/Ai-Mini-Projects.git
- Navigate to the Maze Search Algorithms project directory:
cd Ai-Mini-Projects/Maze-Search-Algorithms
To solve the maze, run the following command:
python maze.py maze1.txt
The solution will be printed in the console, and an image of the maze with the solution path will be saved as maze.png
.
Contributions are welcome! Please fork this repository and submit a pull request with your changes. Ensure your code follows the project's coding standards and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE
file for more details.