Inspiration
First aid is one of those things everyone thinks they know — until someone actually gets hurt. I wanted to create a fun, interactive way to test and teach basic first-aid knowledge. By turning emergencies into a game, we’re helping people stay sharp before things go south.
What it does
“Ouch! What Now?” is a fast-paced, multiple-choice quiz game that puts users in simulated first-aid situations. From burns to broken bones, players get scored on how well (or hilariously) they handle the unexpected. Learn, laugh, and maybe save a life later.
How I built it
I created this quiz game using Python and Pygame. First, I defined a Question class to hold each question, its choices, and the correct answer. Then I made a QuestionManager class that loads the questions and keeps track of which one is currently being displayed. The main game loop uses Pygame to draw the UI — including the question text and clickable answer buttons. When the player clicks a button, it checks if the selected answer is correct and updates the score. Once all questions are answered, the game displays a final score screen. The code is organized to separate logic (like question handling) from rendering, making it easy to add more questions or features later.
Challenges I ran into
I struggled with managing user input and updating the display dynamically without causing lag or glitches. Designing the button-click detection and making sure the game progressed smoothly through questions also took some debugging.
Accomplishments that I'm proud of
I’m proud that I built a fully functional quiz that works with multiple questions and shows correct scoring. The interface is simple but effective, and the game logic flows without bugs or crashes.
What I learned
I learned how to structure a simple game loop in Pygame, handle mouse events for interactive buttons, and organize code with classes to keep things clean.
What's next for Ouch! What Now?
I’d improve the visual design with better graphics and animations to make the game more engaging. I’d also add features like a timer per question, sound effects, and a way to load questions from external files for scalability.
Log in or sign up for Devpost to join the conversation.