Google Dinosaur On Lcd Screen With Arduino

About the project

This is a small game that runs on a Ardunio board, it requires a push button and a 2x16 lcd screen

Project info

Difficulty: Easy

Platforms: Arduino

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Lcd 2x16 Lcd Board Lcd 2x16 Lcd Board x 1
Arduino Uno - R3 Arduino Uno - R3 x 1
Half-size Breadboard Half-size Breadboard x 1
It's The End Of The World  And You Need A Button To Press. This Is It. A 100mm Diameter (outside Diameter) Dome Illuminated Push Button Comes With An Led  Securing Nut And A Pre-installed Long Life Horizontal Microswitch. Button Can Also Be Adjusted It's The End Of The World And You Need A Button To Press. This Is It. A 100mm Diameter (outside Diameter) Dome Illuminated Push Button Comes With An Led Securing Nut And A Pre-installed Long Life Horizontal Microswitch. Button Can Also Be Adjusted x 1

Software apps and online services

Arduino code editor Arduino code editor

Hand tools and fabrication machines

No need for special tools No need for special tools x 1

Story

What is your project about?

- It's a simple game that you can play whenever you want

Why did you decide to make it?

-I was bored

How does it work?

-there is an array of 16 int s, and there is an invisible counter that when it reaches zero sets the last element of the array  to 1 then it moves each element by 1 and then renderers the cactuses

here is a video of me playing it




Code

The code

you can tweak the difficulty by changing/adding numbers in line 83

Credits

Leave your feedback...