Inspiration
We took a game that we all like to play (chess) and tried to recreate it in some way. We also wanted a small spin on it. We had greater ambitions for this... but it ended up being a victory screen for the side that won. The goal is to inspire fun and friendship through chess!
What it does
This is a 2 player rendition of the Smash Hit game, CHESS! Played on the same computer, when it is your turn, you click on your piece. All valid squares that it can go to will be highlighted, and when you click on one, the piece moves there. Then, the turn goes to your opponent and it plays like normal chess. We even included promotions and castling. However, at the end, once someone checkmates, a custom victory screen for black and white will play, along with some displayed text.
How we built it
We used Pygame on the Replit IDE to create this, so we could work cooperatively simultaneously. We also used the internet to search for images that we needed on the visual end, such as the pieces and the victory screens.
Challenges we ran into
There were many challenges during this process... For example, when we first tried to import some of our files so that we could call them in other ones, it didn't work. We first tried to organize our files neatly with folders, but that resulted in the importing issues. We finally decided to just not do that, but that resulted in disorganization, since all our files were just lying in the same area. We also ran into logic issues, and fixing these issues resulted in us not being able to implement all the ideas that we wanted. The time constraint... :( Trying to code in en passant and customizable promoting was also difficult, and some of these ideas had to be scrapped. Luckily, we were able to overcome most of these challenges and had a basic frame for our game to work.
Accomplishments that we're proud of
For our first hackathon, I think that we had great organizational skills and although we did not implement all of the features that we wanted to, we worked really hard to create a chess game that, despite its imperfections, we are proud of In the end, there is a tangible final product that you can play (somewhat...) and that's Great!
What we learned
We learned that often plans for projects should be created with debugging in mind as we planned too ambitiously and ended up spending most of our time fixing the fundamentals.
What's next for Pychess
If we have more time, we would create a mode where you could play against a bot on varying difficulties and we would create personas for the bots and added dialogue/banter during the game.
Built With
- pygame
- replit
Log in or sign up for Devpost to join the conversation.