Inspiration
I watched a movie called Love, Rosie recently and it was still fresh on my mind. It had a million twists so I wanted something with an ending you might not expect. Hopefully I did well on that end. It also wasn't my first idea for this contest to do this. However, with a low amount of time I threw out the idea of a GUI and settled for a text game using the python library colorama. I like the game Mass Effect, so I wanted every choice you make to potentially throw off your ending, which I think I succeeded with.
What it does
It is a choice-based game that is meant for low level, easy and quick entertainment. My friend recently said to me that if you say you don't like rom-com ideas you are lying. So it is meant to capitalize on peoples soft spot for love to easily entertain people right from your terminal.
How I built it
I included to-do lists in my code to show my thought process. I basically wrote a couple of functions that would allow me to much more easily write a story without a load of if/else statements. Functions like scoreUp and scoreDown were pivotal in making my idea come to life so I could have decision based outcomes.
Challenges we ran into
Figuring out colors in my terminal was honestly the hardest problem to overcome. I needed a universal terminal color library for python. I found some worked on linux and not windows. Which wouldn't fly so figuring out colorama and how to make it easily accessible with requirements.txt was the hardest part.
Accomplishments that we're proud of
The use of well named functions and well written functions allowed for the story writing to be super simple and concise. The Choice function I am most proud of because I knew I had to convert the string of the choice to and integer number of the choice in order to compare in an if/else statement. That was a success for me.
What we learned
This is my first ever time submitting my code to anybody other than family. So more than learning coding I learned how to properly comment my code and use proper naming convention to let it be more readable by others.
What's next for Love Story Text Game
After letting my family and close friends play through the game I want to make some adjustments to the time.sleep amount in between text and add more outcome/interactions that are triggered by choices. The playtime is only about 4 minutes at the max so adding more content given more time is next. Possibly making it 2D with pixelated characters would be a next step in order to bring the story to life more.
Built With
- colorama
- python
Log in or sign up for Devpost to join the conversation.