Close
0%
0%

T-Rex-duino

Clone of T-rex game from Chrome browser rewritten for Arduino

Similar projects worth following
Ever wanted to play chrome T-rex game, but the internet connection is too damn stable so you could never get to the error page? Whatever may be your answer, now you can!

It’s super easy to build, as it requires very few components:

  • Arduino Uno / Nano / Pro Mini;
  • OLED display 128x64 SSD1309;
  • A button (or two, if you want to duck!).
 

You can find schematics in the gallery and Arduino sketch on the github release page.

Just like in the original, the game becomes harder (faster) the further you progress.

Additional game features include:

  • lives;
  • t-rex can duck.

Here’s gameplay video

Have fun! (=

  • Support for SH1106/SSD1306 based I2C OLED display!

    Alexander10/11/2020 at 12:35 0 comments

    You can now use much cheaper SH1106/SSD1306 display! Just select the display type you use at the beginning of the arduino sketch.


    There are a few caveats, though:
    1. In order to use SH1106/SSD1306 you will need to add two 470 ohm resistors to the display board.

    You can add these resistors right on top of 10k resistors that already present (or replace them).


    2. 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.

View project log

Enjoy this project?

Share

Discussions

Orion1615 wrote 05/21/2020 at 09:26 point

Nice! Would be fun if you’d implement some bosses and levels too! With the final “boss” being a meteor shower ;)

  Are you sure? yes | no

Makerfabs wrote 05/18/2020 at 02:55 point

  Are you sure? yes | no

Giulio Pons wrote 05/15/2020 at 16:38 point

Really nice job! I'd like to use it on an ESP8266-01, do you think it could work?

  Are you sure? yes | no

Alexander wrote 05/15/2020 at 16:55 point

I think it should definitely work, with some pin adjustments though. You may also need to use software SPI library for LCD, as ESP don't have hardware SPI. Please let me know of your success! I will try to run it on ESP too, but a little later.

  Are you sure? yes | no

leonkamekameha wrote 05/15/2020 at 11:05 point

cool! I will make it!

  Are you sure? yes | no

Alexander wrote 05/15/2020 at 16:51 point

Glad you liked it! It would be nice to see a photo of your build when you finish it, if it's not much trouble!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates