Skip to content

Conversation

@wyojustin
Copy link

Liudmil,

I hope your festivities went well. I forked your repo, to make it easier for you to consider merging in these changes. There are a lot of inefficiencies, but this version works.

Mods:
Added stockfish engine for one or no players (set two_player = True if you want to play against stockfish)
Legal moves added:
-- en passent
-- castling
-- pawn promotion

Gui Mods:
-- Legal moves does not show moves that lead to check
-- highlight king in red when in check
-- added pawn promotion piece selection GUI

Justin

@melvyniandrag
Copy link

I was just going to try and push my mods to try and get a hacktoberfest tshirt! But I see you already did wayyy more than I did! All I did was the pawn promotion. This simple chess game was a great starting point to learn about tk and python, thanks to Liudmil. Gonna check out how you did the the pawn promotion gui when I get home, I just popped up a square with clicakable buttons.

@wyojustin
Copy link
Author

Thanks,

Liudmil started with a really nice base. I spent a weekend playing with it.

Justin

@sohrabtowfighi
Copy link

@wyojustin I included your changes in https://github.com/sohrabtowfighi/Simple-Python3-Chess

@wyojustin
Copy link
Author

@wyojustin I included your changes in https://github.com/sohrabtowfighi/Simple-Python3-Chess

Hey thanks! I've also added stockfist to play against you or itself if you are interested in porting those changes along.

@sohrabtowfighi
Copy link

@wyojustin Where would I find that code?

@wyojustin
Copy link
Author

wyojustin commented Jan 7, 2019 via email

@wyojustin
Copy link
Author

I've pushed my local changes to github: https://github.com/wyolum/Simple-Python-Chess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants