Cinnamon Roll Dungeons is inspired to bring healthier eating habits to people in the form of a battle game with dungeons and levels.

What it does

Cinnamon Roll Dungeons is a game with 3 healthy custom characters (Electrical Tomato, Blast Broccoli, and Death Carrot) that are tasked to battle with unhealthy characters like donuts and cinnamon rolls to continue playing. Each dungeon level of the game features a new enemy to defeat. The combat is made with the roll of the dice. When the number in the dice is even, the enemy takes damage. When it's odd, the player takes damage.

Besides featuring a Web version of the game, Cinnamon Roll Dungeons works with an Arduino with custom made pixel arts, animations, sound effects, prompts, and dice.

How we built it

Browser stack:

Front-end: React.js, Javascript, and CSS. Back-end: Node.js



1) LCD 16x2: To display text, custom pixel arts, projectiles, and custom animations.

2) 8x8 LED Matrix: To simulate a dice animation and show the number.

3) Piezo Buzzer: To play custom music and sound effects.

4) Pull Up Switch: To handle the game logic and transition of scenes, levels, text, etc.

5) Breadboard Extension: To provide a remote surface for the button and buzzer.

Challenges we ran into

In the beginning, the "random" numbers generated from the dice were repeating itself in the same sequence. So we had to figure out how to make our game genuinely random. We used the millis() method to seed the random function. In addition to that, the LCD is very tricky to use for animations. We had some problems moving the cursor around while writing custom characters.

Accomplishments that we're proud of

We're proud of developing a project that mixes hardware and gaming to produce a fun game that encourages people to eat better by fighting unhealthy food. We are proud of developing a really cool first project using an Arduino in such a small amount of time. We are also happy that we were able to neatly organize our hardware into a container that drastically improves the user's experience.

What we learned

We learned how to use React, LCD functions, External Arduino Libraries, Debouncing, Custom Character Creation, Digital Pin usage, 8x8 LED matrix usage, and melody creation.

What's next for Cinnamon Roll Dungeons

New levels, game modes, and features that will engage our users in better eating habits.

Share this project: