The pictures and video do not fully capture the brilliant color when seeing it for yourself.
RED – Opponent Player Characters ( Enemies )
GREEN – Main Player Character ( Game Focus )
BLUE – Wall
WHITE – Door
YELLOW – Key
Find a key
Use a potion
Open door using key
Move ( Direction Available: North, East, South, West ) A proximity-check to opponents is made to determine options. Short-term Memory of locations explored. Coordinates of recent moves are stored in the player object in an effort to reduce looping.
Attack: Each player rolls a 20-sided die trying to meet or exceed the Armor Class value of the opponent. Upon a successful hit, the player then rolls a 4-sided die for damage and applies any bonuses. The total damage is subtracted from the opponent’s hit points.
Check Inventory and Use Item: Randomly determined for simulation purposes.
Source-Code – I’m updating the source-code to look less like a collection of notes and more manageable.
Potential for Expansion using I2C
Add additional microcontroller or Raspberry Pi for Neural Network.
Add better controls, such as push-buttons, and even sensors.
Add a sound-effects module
Additional visual displays.
More About Electronics:
- Why DIY when you could buy?
- Why Arduino when you can Pi?
- Making a Lightshow with Arduino
- Making Sound Effects with Arduino
- Working with Multiple Sensors and Arduino
- Using a Raspberry Pi and USB Camera
- Using a Raspberry Pi for your own Inventory Management System
More About hydroMazing:
- Managing Nutrient Solution Systems
- Setup hydroMazing Smart Garden System
- Using Arduino to Wirelessly Control Appliances
More About Indoor Gardening:
- What is a “Smart” Garden?
- Starting a Smart Indoor Garden
- Digging Deeper into Indoor Gardening
- Indoor Gardening: What can go wrong?