Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nirajxtha/chess
Chess ai using minimax, optimized with alpha-beta pruning in PHP
https://github.com/nirajxtha/chess
alpha-beta-pruning chess chess-library core-php core-php-project dashboard design game minimax-algorithm no-framework php
Last synced: 28 days ago
JSON representation
Chess ai using minimax, optimized with alpha-beta pruning in PHP
- Host: GitHub
- URL: https://github.com/nirajxtha/chess
- Owner: NirajXtha
- Created: 2024-08-20T06:56:44.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T14:59:01.000Z (about 1 month ago)
- Last Synced: 2024-12-06T15:44:52.056Z (about 1 month ago)
- Topics: alpha-beta-pruning, chess, chess-library, core-php, core-php-project, dashboard, design, game, minimax-algorithm, no-framework, php
- Language: JavaScript
- Homepage:
- Size: 33.7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chess Application with Alpha-Beta Pruning: Intelligent Move Generation
Welcome to our **Chess Application**, a beginner-friendly chess platform designed to help users understand chess strategies and learn the game through intelligent AI-powered move suggestions. Built with the **Minimax Algorithm** enhanced by **Alpha-Beta Pruning**, this application ensures optimal gameplay by evaluating all possible moves and counter-moves efficiently.
---
## π **Objectives**
1. **Develop a Competitive AI Opponent**: The AI evaluates and simulates all potential scenarios to challenge users at every level.
2. **Optimize Decision-Making**: By leveraging **Alpha-Beta Pruning**, the AI minimizes potential losses and maximizes potential gains for smarter gameplay.---
## π **Features**
### 1. **User Account System**
- **Login/Register**: Secure accounts with **OTP-based authentication**.
- **Profile Management**: Edit and customize user profiles easily.### 2. **Interactive Chess Gameplay**
- **Player vs AI**: Users can challenge the AI opponent to learn and improve.
- **AI vs AI Simulation**: Watch and analyze AI decisions to understand the mechanics behind optimal moves.
- **Move Validation & Visualization**: Ensure every move adheres to chess rules with clear visual feedback.### 3. **Social Interaction**
- **Friend Requests**: Connect with other players by sending and receiving friend requests.
- **Match History**: Review past games to track progress and learn from mistakes.### 4. **AI-Powered Insights**
- **Best Move Suggestion**: Learn optimal strategies as the AI evaluates every possible move and its consequences.---
## π **Development Model**
This project follows the **Prototype Model**, iteratively refining features to ensure a user-friendly and efficient experience.---
## π₯ **Demo & Interface**
Below are examples of our **application interface** and a **gameplay demo**.
![Gameplay Demo](https://i.ibb.co/zJBHNTj/Chess-Demo.gif)---
## π© **Request Documentation**
If you'd like the **detailed documentation** of this project, feel free to reach out at:
**π§ Email**: [[email protected]](mailto:[email protected])---
## π» **Tech Stack**
- **Frontend**: HTML, CSS, JavaScript
- **Backend**: PHP
- **Database**: MySQL
- **Server Environment**: Laragon---
## π **How It Works**
1. **Alpha-Beta Pruning**:
The AI evaluates each move using the **Minimax Algorithm**, with **Alpha-Beta Pruning** reducing unnecessary calculations, making decision-making faster and more efficient.2. **User Journey**:
- Register or log in with OTP authentication.
- Set up a match or analyze an AI-vs-AI game.
- Learn through intuitive move visualization and feedback.
- Interact socially through friend requests and match history tracking.---
### π **License**
This project is open-source and available for learning and non-commercial purposes.---
Letβs **master chess** together! βοΈ