loading

In an Contest with my Cousin I have made an Game with only 2 things that you need so have fun.

Btw my nativ language is German so please correct me in the comments :D

Step 1: Parts List

You will need an Arduino( I used an arduino uno)

also an PC

and an Sainsmart Lcd keypad shield (or simular)

Her the links for the Items:

Arduino

Keypad shield

Step 2: The Code

There is the code have fun with it but please comment me if you use it on an other platform/instructable

Step 3: Controls

You can only walk with the right, up and down buttons.

The letters there are viewed in the left upper corner are not milliseconds only a counter that can play with friends.

<p>Looks nice! Would you mind uploading a video showing game action?</p>
<p>Hi! How to do this without keypad shield? I try to do it like image, but isn't work. Thanks :D</p><p>http://rctractorguy.com/wp-content/uploads/2014/07/switch-array.png</p>
Oh i think i have to correct this because you have to edit the code to you an self made keypad &deg;~&deg;
<p>When i made my keypad i check adc values with AnalogInOutSerial in arduino libraries, and write my values on &quot; //switch (var){</p><p> //case 142: </p><p> //lcd.print(&quot;UP&quot;);(...)&quot;</p><p>and</p><p>&quot;if (var == 142){ </p><p>dir = 1; </p><p> //lcd.print(&quot;UP&quot;); </p><p> // lcd.setCursor(15,1); </p><p> //lcd.print(dir); </p><p> }(...)&quot; And it's don't work :E</p>
Sorry but i dont understand the code
<p>I change your values to my values e.g UP from 142 to 135, DOWN from 328 to 316 etc. and keys dont work :)</p>
Sch&ouml;nes einfaches Spiel! Aber Dein letzter Satz kann leicht verkehrt interpretiert werden. Die &quot;Zahlen&quot; in der oberen linken Ecke sind keine Milli-Sekunden, sondern nur da, um mit jemanden in einem Wettbewerb spielen zu k&ouml;nnen. (The numbers in the most left corner are not milli-seconds , they are only for playing in a competition with sombody else,...) Keine Kritik, nur eventuell besser zu verstehen. Werde Deinen Code mal runterladen, und an den Weihnachts-Feiertagen damit mal spielen! Ein sch&ouml;nes Fest, und einen guten Rutsch ins Jahr 2016, w&uuml;nscht Dir und deinen Lieben, db9pz ; Markus
Danke f&uuml;r die Korrektur und ebenfalls ein sch&ouml;nes Fest und ein guten rutsch

About This Instructable

1,563views

12favorites

License:

More by space_pac:How to make a Raspberry Eye  Streamcloud video Download Mini Arduino Game 
Add instructable to: