Skip to content

iamtheuri/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHESS AI

Brief History

Growing up, my dad would buy us board games which helped boost our thinking capabilities, slowly started with drafts but later on my older brothers introduced me to chess.

I figured out it was more intruiging compared to the other games and I grew fond of it. I think it highly contributed to my love for mathematics since my primary levels up to date.

Thanks to a youtuber named Eddie Sharick whose tutorials I keenly followed, my dream as a kid was fulfilled and I was able to build my own Chess AI following his tutorials.

Disclaimer: My AI wont go easy on you!!

Description

In this game, you basically play with the white side against the AI as this is the default setting. Changing this is pretty easy as is would only take changing the boolean values in line 54 and 55 of the ChessMain.py. The part is as follows:

After configuring it to your desired settings, whether it's you versus AI, AI vs AI, or you vs a real player, run the ChessMain.py file andEnjoy Your Game!!

CheatSheet:

  1. press keydown 'Z' to undo a move
  2. press keydown 'R' to restart the game

For this project, I used the PyCharm Community Edition 2022.3.3 and installed the pygame package. Remember to also add the __init__.py file

About

lets create my favorite game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages