Inspiration
I want to build a game with python and this is my first try using the pygame package.
What it does
There is only one level at this time and I have thought about implementing a level-up system. The structure has it included but hasn't been completed yet.
The rules:
The game will close (complete) if:
- All the bricks are gone
- The ball touches the lower boundary
How we built it
I use OOP and designed three different classes: Player, Brick, and Ball. Using the Pygame package, I'm able to start a while loop with a timer that constantly checks for intterupts.
Challenges we ran into
The hitbox for a round object is hard to implement and will increase the complexity of the game. However, a square hitbox might cause some bugs and some weird behaviors of the ball.
Accomplishments that we're proud of
I have got my hands on an actual project that I wanted to do for a long time. As long as I'm making progress, I'm happy.
What we learned
Having a structure of the entire project really helps to develop any programs. I would plan ahead next time because it really saves you tons of trouble.
What's next for Yinan's Brick Breaker Game
I will add the level-up mechanics and some better implementation of the hitboxes.
Built With
- pycharm
- pygame
Log in or sign up for Devpost to join the conversation.