This project is a approach to the IoT with some friendly tools like Node-RED, Minecraft and Raspberry Pi.
I have found it here and was develop by Matt Hawkins
The Castle.py and castleNodeRed.json were runned in a Raspberry Pi (with Jesse), and the btscrip.sh in a Intel Edison which incorporates Bluetooth connectivity.
Al the files use MQTT Protocol and the broker provided by the Eclipse Foundation
You can control the light in the environment in the dashboard, also, the walls height and the lights in each level of the castle
The Gate control depends of the Bluetooth connectivity.