Skip to content

๐Ÿ”ฅ Checkmate meets code! Explore my interactive chess app crafted in Python with Pygame for a stunning GUI. Challenge yourself against an AI powered by Quiescence search and the mighty Negamax algorithm. Validating moves with python-chess library, it's a strategic journey through the realm of chess like never before! โ™›โ™ž๐Ÿ–ฅ๏ธ

Notifications You must be signed in to change notification settings

ishijaiswal18/Chess-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โ™Ÿ๏ธ ChessApp: Master the Board

Welcome to ChessApp, where strategy meets Python magic! This chess engine is not just about moves; it's about unleashing the power of negamax, alpha-beta pruning, and even a touch of grandmaster wisdom. Let's dive into the world of checkmates and smart chess moves! ๐Ÿš€๐Ÿ”ฅ

๐Ÿ› ๏ธ How It Works

Board Evaluation Magic ๐ŸŽฉ

We've summoned the power of Python-chess for move generation and confirmation. But wait, there's more! Our board evaluation involves piece square tables, where each piece's position has a magical value. It's like chess, but with a touch of wizardry. โ™Ÿ๏ธโœจ

Negamax and Alpha-Beta Pruning Spell ๐Ÿ”ฎ

To predict our next moves, we've employed the magical negamax version of the minimax algorithm. It's a dance where one player's loss equals another's gain. To speed things up, we've added a touch of alpha-beta pruning magic, stopping us from considering every single possibility and only exploring the most promising paths. ๐Ÿง™โ€โ™‚๏ธ๐Ÿ’ซ

Smartness Overload with Book Moves ๐Ÿ“š

Our chess engine is not just smart; it's genius! We've incorporated initial moves from the chess grandmasters' playbook to make our engine think ahead. It's like having a grandmaster whispering moves in your ear. ๐Ÿ“–๐Ÿ”

Quiescence Search: Calming the Tactical Storm ๐ŸŒช๏ธ

To avoid the chaos of unreliable evaluations, we've added a quiescence search. It's like a tranquil retreat at the end of our search, focusing on capturing moves and maintaining the stability of our evaluations. Because in chess, calm minds make the best moves. โ˜ฏ๏ธโ™›

๐Ÿš€ Getting Started

To experience the magic of ChessApp, follow these spells:

  1. Install dependencies with a magical incantation:
    python -m pip install -r requirements.txt
  2. Cast the spell to run the ChessApp:
    python chess_gui.py

๐ŸŽ‰ Join the Chess Magic

Feel the thrill of every move and the enchantment of strategic thinking. ChessApp is not just an app; it's a chess adventure waiting to unfold. ๐ŸŒŸ๐Ÿ‘‘

"Chess is everything: art, science, and sport." - Anatoly Karpov ๐Ÿฐ๐Ÿค”

Happy checkmating! โ™ž๐Ÿ”ฅ

About

๐Ÿ”ฅ Checkmate meets code! Explore my interactive chess app crafted in Python with Pygame for a stunning GUI. Challenge yourself against an AI powered by Quiescence search and the mighty Negamax algorithm. Validating moves with python-chess library, it's a strategic journey through the realm of chess like never before! โ™›โ™ž๐Ÿ–ฅ๏ธ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages