A comprehensive collection of AI practical programs and detailed study notes
Perfect for students, self-learners, and interview preparation
๐ Explore Docs ยท ๐ Quick Start ยท ๐ฎ Play Tic-Tac-Toe ยท ๐ค Contribute
This repository contains well-structured Python implementations of classic AI algorithms alongside rich Markdown theory notes. Whether you're preparing for exams, learning AI fundamentals, or revising for interviews โ this repo has you covered.
- ๐ Clean Python Code โ Readable, well-commented implementations
- ๐ Detailed Theory โ Markdown notes with pseudocode and explanations
- ๐ฏ Exam-Ready โ Summaries and key points for quick revision
- ๐ฎ Interactive Demo โ Play Tic-Tac-Toe against Minimax AI
Artificial-Intelligence/
โ
โโโ ๐ README.md # You are here
โโโ ๐ LICENSE # MIT License
โโโ ๐ CONTRIBUTING.md # Contribution guidelines
โโโ ๐ requirements.txt # Dependencies
โโโ ๐ .gitignore # Git ignore rules
โ
โโโ ๐ 01_AI_Introduction_Overview.md # Theory: Foundations of AI
โโโ ๐ 05_LISP_and_PROLOG_Summary.md # Theory: LISP & PROLOG guide
โโโ ๐ AI_Practicals_02_to_08_Summary.md # Theory: All algorithms explained
โ
โโโ ๐ 02_Depth_First_Search.py # DFS implementation
โโโ ๐ 03_Breadth_First_Search.py # BFS with goal & path finding
โโโ ๐ 04_Greedy_Best_First_Search.py # Heuristic-based search
โโโ ๐ 06_Minimax_Algorithm.py # Static tree Minimax
โโโ ๐ 07_TicTacToe_with_Minimax.py # Interactive Tic-Tac-Toe game
โโโ ๐ 08_Minimax_with_AlphaBeta_Pruning.py # Optimized Minimax
โ
โโโ ๐ธ screenshots/ # Sample output screenshots
โ โโโ 02_dfs_output.txt
โ โโโ 03_bfs_output.txt
โ โโโ 04_best_first_output.txt
โ โโโ 06_minimax_output.txt
โ โโโ 08_alphabeta_output.txt
โ
โโโ ๐ง .github/workflows/ # CI/CD automation
โโโ python-tests.yml
| # | Practical | Type | Description |
|---|---|---|---|
| 01 | AI Introduction | ๐ Theory | Foundations of AI, ML, DL, Turing Test, Learning Types |
| 02 | Depth First Search | ๐ Code | Iterative DFS using stack on a graph |
| 03 | Breadth First Search | ๐ Code | BFS with goal detection and path reconstruction |
| 04 | Greedy Best-First Search | ๐ Code | Priority queue search using heuristics |
| 05 | LISP & PROLOG | ๐ Theory | Complete guide to AI programming languages |
| 06 | Minimax Algorithm | ๐ Code | Decision-making on static game trees |
| 07 | Tic-Tac-Toe with Minimax | ๐ Code | Play against an unbeatable AI! |
| 08 | Alpha-Beta Pruning | ๐ Code | Optimized Minimax with pruning |
๐ Detailed theory, pseudocode, and explanations for Practicals 02โ08 are in
AI_Practicals_02_to_08_Summary.md
- Python 3.x installed
# Clone the repository
git clone https://github.com/intronep666/Artificial-Intelligence.git
cd Artificial-Intelligence
# Run a practical (example: DFS)
python 02_Depth_First_Search.py
# Play Tic-Tac-Toe against AI
python 07_TicTacToe_with_Minimax.py | |
-----------
| |
-----------
| |
You are X. Enter position (1-9): _
Challenge the Minimax-powered AI โ can you beat it? (Spoiler: You can't!) ๐
| Topic | Concepts Covered |
|---|---|
| Graph Search | DFS, BFS, Greedy Best-First, Heuristics |
| Game Theory | Minimax, Alpha-Beta Pruning, Zero-sum games |
| AI Foundations | Turing Test, AI vs ML vs DL, Learning paradigms |
| Data Structures | Stacks, Queues, Priority Queues, Trees |
| Field | Details |
|---|---|
| Name | PREXIT JOSHI |
| Roll Number | UE233118 |
| Branch | Computer Science and Engineering (CSE) |
| Institute | University Institute of Engineering and Technology, Panjab University (UIET, PU) |
| ๐ง prexitjoshi@gmail.com | |
| GitHub | @intronep666 |
If you found this helpful, please consider giving a star โญ to the repository!
Contributions are welcome! Please read the Contributing Guidelines before submitting a PR.
This project is licensed under the MIT License โ see the LICENSE file for details.