Inspiration

We listed ideas related to camping and the first idea that came to mind was s'mores! We started with a Python script that simulated toasting a marshmallow over a fire to a golden brown. We later decided to implement this into an interactive Pygame game with a cozy atmosphere.

What it does

The game prompts the player to pick a duration to toast their marshmallow for: short, medium, and long. Each duration represents a range of randomized numbers that add to a total count of "Seconds Toasted". After choosing a duration the game gives an update on the status of the marshmallow and the user is prompted to either continue toasting their marshmallow or decide to stop. Selecting "stop" or the marshmallow having a "burnt" status will lead the player to the ending screen. This shows their marshmallow finished over the campfire, their streak of golden brown marshmallows, and a prompt to either return to the main screen or play again.

How we built it

We built this project using Python and the Pygame extension. We started by making a runnable script on Python and then slowly implemented the script into the visual game. All illustrations were completed using Procreate, placed into an "Assets" folder, and added to the game. Sounds were added using a mixer library from Pygame and were sourced from Youtube.

Challenges we ran into

We were using Pygame for the first time for this project, making the entire experience a learning process. Challenges we ran into included creating screens, buttons, and graphics for the game, as well as implementing the Python script into it.

Accomplishments that we're proud of

Accomplishments we are proud of are: making a successful Pygame game, figuring out how to add graphics and sounds, and creating a cozy atmosphere for our game.

What we learned

We learned how to use the Pygame extension on Python, which includes installing the extension, creating screens, creating buttons, adding photos, and adding sounds.

What's next for Marshmallow Toast Simulator

A new update for the Marshmallow Toast Simulator would include a leaderboard that asks for the player's name when they choose to stop playing and adds the top usernames and scores to a leaderboard. An update could also include making an entire s'more with the toasted marshmallow, adding to the length of the game.

Built With

Share this project:

Updates