Skip to content

dl-lim/project-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Chess

This repo contains a fully playable chess game with move validation and all special moves like En Passant and Castling.

This is a project I will continually be working on to optimise and improve.

Unfortunately AI is still a WIP - I will be starting with a naive random AI, to a greedy AI and then implementing stockfish later on.

More work needs to be done on the interface to include a move log, captured pieces, black/white switch and AI selector.

User Instructions

python -m venv .venv and pip install -r requirements.txt

To start, run main.py

Pressing the R key during gameplay resets the board

Pressing the Z key during gameplay undo's a move

Notes for self

Story

why use valid_moves[i] instead of move in valid_moves move does not have Move class parameters

Improvements:

consider passing team parameter through functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages