GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kr7shnasomani/ChessBot: A browser-based Chess AI using Minimax with Alpha-Beta pruning, powered by chess.js for move generation and chessboard.js for visualization.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
img/chesspieces/wikipedia
img/chesspieces/wikipedia
 
 
lib
lib
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package.json
package.json
 
 
script.js
script.js
 
 
style.css
style.css
 
 

Repository files navigation

ChessBot

A chess AI that uses chess.js for move generation and chessboard.js for visualization. Implements Minimax with Alpha-Beta pruning for efficient decision-making. The evaluation function considers material and piece positioning to improve gameplay. Optimized for better strategic moves while maintaining performance.

Execution Guide:

Run the following commands in the terminal:

  1. Clone the repository:

    git clone https://github.com/kr1shnasomani/ChessBot.git
    
  2. Navigate to the project directory:

    cd ChessBot
    
  3. Install npm:

    npm install
    

    If already installed, check the version:

    npm --version
    
  4. Start the development server:

    npm start
    
  5. The code will display two local host links, open any of the links in the browser:

    http://127.0.0.1:8080
    
    http://192.168.16.194:8080
    
  6. This is how the project will look like upon successfuly execution:

    image

Repository Structure:

The following is the repository structure:

ChessBot/
│── img/chesspieces/wikipedia/
│   ├── bB.png
│   ├── bK.png
│   ├── bN.png
│   ├── bP.png
│   ├── bQ.png
│   ├── bR.png
│   ├── wB.png
│   ├── wK.png
│   ├── wN.png
│   ├── wP.png
│   ├── wQ.png
│   └── wR.png
│── lib/
│   ├── chessboardjs/
│   │   ├── css/
│   │   │   ├── chessboard-0.3.0.css
│   │   │   └── chessboard-0.3.0.min.css
│   │   ├── js/
│   │   │   ├── chess.js
│   │   │   ├── chessboard-0.3.0.js
│   │   │   └── chessboard-0.3.0.min.js
│   │   ├── LICENSE.txt
│   ├── jquery/
│   │   └── jquery-3.2.1.min.js
│── js/
│   └── chess.js
│── .gitignore
│── LICENSE
│── README.md
│── index.html
│── package.json
│── script.js
└── style.css      

Code Output:

GIF

About

A browser-based Chess AI using Minimax with Alpha-Beta pruning, powered by chess.js for move generation and chessboard.js for visualization.

smart-chess-bot.vercel.app

Topics

chessboardjschessbotchessjsjquery

Resources

Readme
License
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.