This week I wrapped up my first big programming project for class, and I’m pretty excited about how it turned out! I decided to make a text-based escape room. Basically, you wake up in a quiet house and have to figure out how to get out by exploring, picking up items, and using them in the right spots.
The Hardest Part
The hardest part was making sure the game remembered what the player did. For example:
- If you unlock the desk with the crowbar, the game needs to recognize that it’s open later.
- I also had to handle weird inputs, like when someone just presses enter without typing anything.
This part tested my problem-solving skills the most!
What I Learned
I learned a ton about:
- if/else statements → controlling the flow of choices
- variables → storing inventory and game state
- thinking about the player’s experience (not just the code!)
Looking Ahead
Next time, I want to:
- Add more puzzles
- Maybe include multiple rooms
- Create different endings
Who knows, maybe one day I’ll even rebuild it with graphics.
Final Thoughts
For now, I’m proud that my first project actually works (and works well)! This little escape room showed me how coding can be about more than just text on a screen, it’s about designing a fun, interactive experience.