Skip to content

DantonDanvin/Chess_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Bot ♟️

JavaScript Version GitHub stars GitHub forks GitHub issues GitHub pull requests GitHub last commit GitHub repo size GitHub contributors GitHub commit activity GitHub code size in bytes

This project is an interactive chess game with an AI opponent, implemented in JavaScript. ♔♕♖♗♘♙

Features 🚀

  • Play chess against an AI opponent 🤖
  • Interactive chessboard with piece movement ♟️
  • Move validation ✅
  • Auto-move mode 🔄
  • Free mode for piece placement 🆓
  • Move analysis 🔍

Files 📁

  • index.html: The main HTML file that structures the web page 🌐
  • chess_js.js: Contains the game logic and user interface interactions 🧠

How to Use 🎮

  1. Open index.html in a web browser to start the game. 🌐
  2. Click on a piece to select it, then click on a valid square to move. 🖱️

AI Implementation 🧠

The AI uses the minimax algorithm with alpha-beta pruning to determine the best move. The evaluation function considers piece values and positional advantages. 🤖♟️

Feel free to contribute to this project by submitting pull requests or reporting issues! 🙌

About

An interactive chess game with an AI opponent, implemented in JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published