-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b250ec4
Showing
34 changed files
with
19,576 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build/** linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: build | ||
branch: gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 scar17off | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Chess Analysis Engine ♟️ | ||
|
||
![GitHub](https://img.shields.io/github/license/scar17off/chess-analysis-engine) | ||
![JavaScript](https://img.shields.io/badge/language-JavaScript-yellow) | ||
![Version](https://img.shields.io/badge/version-1.0-blue) | ||
![GitHub stars](https://img.shields.io/github/stars/scar17off/chess-analysis-engine?style=social) | ||
![GitHub forks](https://img.shields.io/github/forks/scar17off/chess-analysis-engine?style=social) | ||
![GitHub issues](https://img.shields.io/github/issues/scar17off/chess-analysis-engine) | ||
![GitHub pull requests](https://img.shields.io/github/issues-pr/scar17off/chess-analysis-engine) | ||
![GitHub last commit](https://img.shields.io/github/last-commit/scar17off/chess-analysis-engine) | ||
![GitHub repo size](https://img.shields.io/github/repo-size/scar17off/chess-analysis-engine) | ||
![GitHub contributors](https://img.shields.io/github/contributors/scar17off/chess-analysis-engine) | ||
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/scar17off/chess-analysis-engine) | ||
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scar17off/chess-analysis-engine) | ||
|
||
An interactive chess game with built-in analysis engine and customizable AI opponent. Play against the computer, analyze positions, and improve your chess skills. 🎮 🤖 | ||
|
||
## Features ✨ | ||
|
||
- Interactive chess board with legal move validation ♟️ | ||
- Customizable AI opponent with adjustable strength (ELO rating) 🤖 | ||
- Real-time position analysis 📊 | ||
- Opening book integration 📚 | ||
- Move quality evaluation 🎯 | ||
- Complete move history with annotations 📝 | ||
- Free mode for position analysis 🔍 | ||
- Multiple engine modes (depth-based and time-based) ⚙️ | ||
|
||
## Game Modes 🎮 | ||
|
||
### vs Computer 🤖 | ||
Play against an AI opponent with adjustable strength from beginner to master level. The AI's playing strength can be fine-tuned using the ELO rating slider in settings. | ||
|
||
### Free Mode 🔓 | ||
Analyze positions freely by moving pieces for both sides. This mode is perfect for studying specific positions or recreating games. | ||
|
||
## Analysis Features 📊 | ||
|
||
- Real-time position evaluation 📈 | ||
- Move suggestions with quality indicators 💡 | ||
- Opening book recognition 📚 | ||
- Move quality assessment (Brilliant, Great, Good, Inaccuracy, Mistake, Blunder) ⭐ | ||
- Complete game history with annotations 📝 | ||
|
||
## Settings ⚙️ | ||
|
||
### Game Settings 🎮 | ||
- Free Mode toggle 🔓 | ||
- Opponent strength adjustment (ELO rating) 💪 | ||
- Opening book usage toggle 📚 | ||
|
||
### Analysis Engine Settings 🔧 | ||
- Engine mode selection (Depth/Time based) ⚙️ | ||
- Analysis power adjustment 🔋 | ||
- Engine statistics display (ELO, Rank, Depth/Time) 📊 | ||
|
||
## Technical Details 💻 | ||
|
||
Built with: | ||
- React ⚛️ | ||
- HTML5 Canvas 🎨 | ||
- Font Awesome icons 🎯 | ||
- Custom chess engine ♟️ | ||
|
||
## Getting Started 🚀 | ||
|
||
1. Clone the repository 📥 | ||
2. Install dependencies:```bash | ||
npm install | ||
``` | ||
3. Start the development server: | ||
```bash | ||
npm start | ||
``` | ||
|
||
## Contributing 🤝 | ||
|
||
Contributions are welcome! Please feel free to submit a Pull Request. | ||
|
||
## License 📄 | ||
|
||
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"files": { | ||
"main.css": "/static/css/main.1caca42d.css", | ||
"main.js": "/static/js/main.3526cdc1.js", | ||
"index.html": "/index.html", | ||
"main.1caca42d.css.map": "/static/css/main.1caca42d.css.map", | ||
"main.3526cdc1.js.map": "/static/js/main.3526cdc1.js.map" | ||
}, | ||
"entrypoints": [ | ||
"static/css/main.1caca42d.css", | ||
"static/js/main.3526cdc1.js" | ||
] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A powerful chess analysis engine that helps you analyze games, find the best moves, and improve your chess skills"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Chess Analysis Engine</title><script defer="defer" src="/static/js/main.3526cdc1.js"></script><link href="/static/css/main.1caca42d.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"short_name": "React App", | ||
"name": "Create React App Sample", | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://www.robotstxt.org/robotstxt.html | ||
User-agent: * | ||
Disallow: |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.