Inspiration - Me and my teammates love playing chess, and that's where we got our inspiration from.

What it does - It's basically a chess game, where user can click on a chess piece and use keyboard keys to move and kill.

How we built it - We built it in python using pygame module. We made use of OOP, where we created classes named Board, Pieces, and Database.

Challenges we ran into - Due to time constraint, we could not add the functionality for checks and checkmate.

Accomplishments that we're proud of - We added redo, undo, and restart functionality in this game. We also incorporated a sqlite3 database to record the positions of chess pieces. After closing the game, the position of the pieces are saved in a database, and when the program is run again, the game picks up where it left off. Also, we check the number of steps available for rooks, bishops, and queens, whether their paths have been blocked or not.

What we learned - This was an opportunity for us to learn a new skill - sqlite3. We learnt just enough about it overnight to incorporate in our project.

What's next for PygameChess - Definitely, our next goal for this project would be to add checkmate and check functionality.

Built With

Share this project:

Updates