Skip to content

Mohitabh/ChessEngine

Repository files navigation

Chess Engine

A chess engine implementation using bitboard representation for efficient board state management and move generation.

Features (Current)

  • Bitboard-based board representation
  • Basic board visualization
  • Initial position setup
  • Piece placement tracking

Planned Features

  • Legal move generation
  • Position evaluation
  • Search algorithms (Minimax with Alpha-Beta pruning)
  • Opening book integration
  • UCI protocol support

Setup

  1. Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate  # On Unix/macOS
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the chess engine:
python chess_engine.py

Implementation Details

The engine uses bitboards for board representation, where each piece type and color is represented by a 64-bit integer. Each bit in these integers corresponds to a square on the chess board, making operations like move generation and position evaluation more efficient.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages