Skip to content
← Back to Community
Basic Chess Game
Profile icon
lclarkejhdf

This is just a basic recreation of Chess I decided to make in my own time (mostly whenever I didn't have anything to do at College); there may be redundant code or bugs that need to be ironed out still, but from the (admittedly somewhat basic) testing I've done, there shouldn't (hopefully) be anything major.

You can make the board 'bigger' by magnifying the web page in your browser (assuming it supports doing so), however you'll need to re-run the code after doing so as I believe the zoom in messes with the referencing for the click detection.

I plan to make an additional repl at some point that will include the special moves I haven't coded in yet (Castling and En Passant) at some point in the future, but I don't know how long it will take me to be motivated enough to do it.

Many thanks again to @mat1 for the code that alllows python to detect mouse clicks (this would be far less intuitive without it)!

Voters
Profile icon
EmilyPutnam
Profile icon
Klokat
Profile icon
lclarkejhdf
Comments
hotnewtop
Profile icon
ApoorvAgrawal

You should add castling and en passants

Profile icon
Klokat

Awesome job!
I think the checkmate logic needs some work since this is a checkmate:
l4sVqpD
Other than that amazing! Cheers