Dragon Cannon allows you to feed your pet dragon with a cannon.
The Dragon Cannon app can control a remote cannon. A user can input the pitch, yaw, and power parameters before firing the cannon.
The cannon has various hardware sensors, including a force sensor, a camera, and the ability to detect the dragon's position. It makes this data available to the app via a JSON API built through Kinoma.
The app repeatedly polls the cannon device in order to obtain position, weight, and happiness data. The app takes the relative x, y, and z positions of the dragon and converts them into a heading suitable for directing the cannon. The app sends off a fire request to the device when the Fire button is pressed. The device processes this request and presumably fires the cannon. It also records the amount of times it has been fired.



Comments