Completed legal moves, added stockfish engine, gui enhancements.#1
Completed legal moves, added stockfish engine, gui enhancements.#1wyojustin wants to merge 3 commits intolyudmil-mitev:masterfrom
Conversation
|
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. |
|
Thanks, Liudmil started with a really nice base. I spent a weekend playing with it. Justin |
|
@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. |
|
@wyojustin Where would I find that code? |
|
I'll make another pull request.
…On Sun, Jan 6, 2019, 8:38 PM sohrabtowfighi ***@***.*** wrote:
@wyojustin <https://github.com/wyojustin> Where would I find that code?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3QWyLaSX4_5efZcFnc_3Mt1R1WC1FKks5vAqUUgaJpZM4LV84Y>
.
|
|
I've pushed my local changes to github: https://github.com/wyolum/Simple-Python-Chess |
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