Mini Arduino Game

Intro: Mini Arduino Game

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.

Share

    Recommendations

    • Fix It! Contest

      Fix It! Contest
    • Audio Contest 2018

      Audio Contest 2018
    • Tiny Home Contest

      Tiny Home Contest

    8 Discussions

    0
    None
    germap

    2 years ago

    Looks nice! Would you mind uploading a video showing game action?

    0
    None
    m1hc10

    2 years ago

    Hi! How to do this without keypad shield? I try to do it like image, but isn't work. Thanks :D

    http://rctractorguy.com/wp-content/uploads/2014/07/switch-array.png

    4 replies
    0
    None
    space_pacm1hc10

    Reply 2 years ago

    Oh i think i have to correct this because you have to edit the code to you an self made keypad °~°

    0
    None
    m1hc10space_pac

    Reply 2 years ago

    When i made my keypad i check adc values with AnalogInOutSerial in arduino libraries, and write my values on " //switch (var){

    //case 142:

    //lcd.print("UP");(...)"

    and

    "if (var == 142){

    dir = 1;

    //lcd.print("UP");

    // lcd.setCursor(15,1);

    //lcd.print(dir);

    }(...)" And it's don't work :E

    0
    None
    space_pacm1hc10

    Reply 2 years ago

    Sorry but i dont understand the code

    0
    None
    m1hc10space_pac

    Reply 2 years ago

    I change your values to my values e.g UP from 142 to 135, DOWN from 328 to 316 etc. and keys dont work :)

    0
    None
    db9pz

    2 years ago

    Schönes einfaches Spiel! Aber Dein letzter Satz kann leicht verkehrt interpretiert werden. Die "Zahlen" in der oberen linken Ecke sind keine Milli-Sekunden, sondern nur da, um mit jemanden in einem Wettbewerb spielen zu kö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önes Fest, und einen guten Rutsch ins Jahr 2016, wünscht Dir und deinen Lieben, db9pz ; Markus

    1 reply
    0
    None
    space_pacdb9pz

    Reply 2 years ago

    Danke für die Korrektur und ebenfalls ein schönes Fest und ein guten rutsch