Real Life JRPG

Team

Project

JRPG is a very popular video game genre, it’s turn based battle system allows the player to create interesting strategies impossible to find in real time games.

The goal of Real Life JRPG is to bring that experience away from the TV. Fight a dragon by actually swinging a sword.

Up to 3 players will work together to defeat the dragon, attacking it will Lower it’s health points and if the Dragons health points reach 0 the players win. But the Dragon will retaliate and if all players lose their health points, the dragon win.

dragon art

System

uml system diagram

Methods

The dragon is a Raspberry Pi 3 that creates a wireless network. 3 Rapberry Pi Zero W’s connect to the network. Data is send and received through the use of WebSockets.

Each Raspberry Pi Zero W acts as the controller, connected to it is three buttons for navigation, a screen for menu display, and an accelerometer(on the back) to detect sword swings

raspberry pie on custom board

Conclusion

Everything was successfully implimented. through this process I knowledge of Nodejs increased. I now much better understand how the GPIO pins on a raspberry pi works, including how to interface with SPI devices.

In the future more complex battle mechanics could be added. For example, rather than a sword, a player could have a magic wand and cast spells.

More enemies could be added with a variety of abilities and weaknesses, as well a games modes such as a gauntlet of multiple battles one after another.