Inspiration
My inspiration for this game came from the casino game Blackjack. In Blackjack, players aim to get a hand value as close to 21 as possible without going over, while in Subtraction Showdown, players aim to subtract their way to zero. Both games require careful consideration of the current state and potential outcomes.
What it does
It's a number guessing game. Players either have to guess the number outright or have to subtract their way down to zero. With each subtraction, you get closer to your target but also farther from knowing the exact starting number. Along the way you can get hints or know the total subtracted to track your progress.
How I built it
I used core functions like input/output, loops, and conditionals in python. The logic behind the game involves random number generation, user input processing, and win/loss conditions. I felt the need to include hints, scorekeeping, and replay-ability to keep the user engaged, but not get overwhelmed.
Challenges I ran into
While coding, I had to pay attention to detail to be sure that the code could interpret different user inputs and provide the appropriate responses. Trying to balance the challenge level and player experience was something I didn't think about until I ran user tests. My biggest hurdle was overcoming invalid errors that popped up, and learning how to prevent the game from crashing.
Accomplishments that I'm proud of
I'm proud to have been able to code and create this game!
What I learned
What's next for Subtraction Showdown
Next in this, I want to implement a mobile version. I feel that while this version might get the concept across, a graphical aspect thats easy to use will be more interactive and attractive.
Log in or sign up for Devpost to join the conversation.