Skip to content

o-lenczyk/garry-s-chess-2.0

Repository files navigation

garry's chess 2.0

goal

the goal is to reinvent chess. possible evolution to fairy chess or dungeon crawler

gui

  • pygame
  • cli

what is working

  • side to move
  • piece moves
  • piece captures
  • possible moves indicators
  • castling
  • autopromotion to queen
  • promotion to other pieces
  • en passant
  • checks
  • pin to king
  • stealmate
  • fifty move rule
  • three repetitions rule
  • algebraic notation
  • load from FEN
  • tests
  • UCI

how to run - linux

either:

  • download pyinstaller executable (releases)
  • download pyinstaller package with python and requirements installed
  • clone repository and install requirements manually
    • python3 -m pip install -r requirements.txt --user
    • run main.py

how to run - windows

  • clone the repository and install the requirements

code formatter

black

matrix opeterations

are explained in matrix jupyter notebook

board representiation

hybrid (redutant solution) between piece-list and bitboard is used