lyudmil-mitev / Simple-Python-Chess

A simple python chess game with a seperate board representation/validation and a TkInter GUI
Do What The F*ck You Want To Public License
58 stars 51 forks source link

Completed legal moves, added stockfish engine, gui enhancements. #1

Open wyojustin opened 7 years ago

wyojustin commented 7 years ago

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 commented 6 years ago

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 commented 6 years ago

Thanks,

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

Justin

sohrabtowfighi commented 5 years ago

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

wyojustin commented 5 years ago

@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 commented 5 years ago

@wyojustin Where would I find that code?

wyojustin commented 5 years ago

I'll make another pull request.

On Sun, Jan 6, 2019, 8:38 PM sohrabtowfighi <notifications@github.com 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 https://github.com/liudmil-mitev/Simple-Python-Chess/pull/1#issuecomment-451797202, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3QWyLaSX4_5efZcFnc_3Mt1R1WC1FKks5vAqUUgaJpZM4LV84Y .

wyojustin commented 5 years ago

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