Mini Arduino Game

2,557

13

8

Introduction: 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

Attachments

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.

Make It Glow! Contest

Participated in the
Make It Glow! Contest

Arduino All The Things! Contest

Participated in the
Arduino All The Things! Contest

Be the First to Share

    Recommendations

    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    8 Discussions

    0
    germap
    germap

    4 years ago

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

    0
    m1hc10
    m1hc10

    4 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

    0
    space_pac
    space_pac

    Reply 4 years ago

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

    0
    m1hc10
    m1hc10

    Reply 4 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
    space_pac
    space_pac

    Reply 4 years ago

    Sorry but i dont understand the code

    0
    m1hc10
    m1hc10

    Reply 4 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
    db9pz
    db9pz

    4 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

    0
    space_pac
    space_pac

    Reply 4 years ago

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