Doryx
A browser game in p5.js where an oryx races across the Qatari desert to reach the rain, controlled by a camera and a trained image model.

Doryx is a game designed in p5.js in which the oryx has to reach the rain in the least amount of time. On the way it must avoid the desert fox, which is deadly: game over. The whole game was coded in one week during the oio summer school.
The game draws on the Qatari environment and the data it uses is accurate, such as the speed at which an oryx can actually run to reach the rain. The idea is to tell something about life in the Qatari desert in a playful way.
Under attack: when the oryx meets a fox, it survives only if the user shows a peace sign to the camera; otherwise it is game over.
Plant Boost: to speed up, the user shows a real plant to the camera, which activates super speed for 3 seconds. The plant is recognised by a model trained with Teachable Machine, so an actual plant is needed to feed the oryx.
Shueya Shueya: the pause mode. It is activated when the brightness seen by the camera falls below 4.




