Clone of T-rex game from Chrome browser rewritten for Arduino.
Just 3 components needed:
Update
Now supporting SH1106/SSD1306 based I2C OLED display!
t-rex-duino.ino
sketch by uncommenting one of the following lines (SSD1309 selected by default).
//#define LCD_SSD1309
//#define LCD_SH1106
//#define LCD_SSD1306
Flash the sketch.
Note that in order to achieve desirable performance I2C is substantially overclocked (it works at 800kHz vs 400kHz as per display specification). It is possible that not every display will work under these conditions. The display I have works fine mostly, but a stray broken frame still appears now and then. As much as I can assume small artifacts are unavoidable with this display.
MIT License © github.com/AlexIII