For the hackathon, I decided to build something fun, a real-time multiplayer game called Crack the Code. With the help of Kiro, my AI coding partner, I was able to take my idea from concept to working prototype in just a short time.
The Game Idea
The concept is simple:
- Each player sets a secret 4-digit code.
- The goal is to guess your opponent’s code before they guess yours.
- You can play against the computer for practice, or challenge a friend in real-time multiplayer mode.
- It’s a mix of logic, deduction, and quick thinking .
Game Modes
1) Play with Computer
In this mode, the system instantly generates a random secret code. I enter my guess, and the game gives me color-coded feedback:
- 🟢 Green → Right digit, right place
- 🟡 Yellow → Right digit, wrong place
- 🔴 Red → Digit not in the code
I get 7 attempts to crack the code. If I succeed, I win. If not, the correct code is revealed at the end.
This mode is perfect for practicing strategy before competing against a real opponent.
2) Multiplayer Mode
Multiplayer is where the game really shines.
- I can create a room and get a unique room key.
- My friend joins by entering that key from their device.
- Both of us set our secret codes and the game begins.
We take turns guessing each other’s codes, with real-time updates showing:
- Turn indicators
- Guess history
- Win/lose conditions
The entire flow feels smooth, competitive, and engaging.
Building Crack the Code for the hackathon was an amazing experience. I went from idea → design → working game in record time, while focusing on gameplay design and user experience. Kiro handled the heavy coding, leaving me free to refine the fun parts.
This project truly showed me the power of AI-assisted development — turning ideas into reality faster and more collaboratively than ever before.