Snake Attack!

Here’s a quick post to show off my first project using the LED canvas I have been working on (nicknamed Square Wave). It’s based on the old snake game, where the player controls a snake that slithers around looking for apples that appear and disappear. When he finds (and eats) an apple, he grows. When he crashes into himself, he dies.

The code is open source, and you can find it on github.

I’m using a wii nunchuck as a controller, which is a cheap way to get 2 buttons, a joystick, and a 3-axis accelerometer, all in a molded case. For this game, only the right & left directions on the joystick are needed, but the controller has a lot of potential for future games.

Published by

Patrick Schless

I'm a (mostly) ruby/rails developer, living in Chicago. I work at Braintree, and I have lots of side-projects.

16 thoughts on “Snake Attack!”

  1. Just tried compiling this after downloading it from github, it seems to error out indicating multiple definitions for the functions. Are you able to compile this without any problems?

  2. The four-leaf clover game is enjoyable and possible
    for preschoolers. There will be an amount of treatment required for this service individual too.
    Take a seat beforehand and figure out what fits along with
    your budget.

  3. If you have mistreated your 2G, you can find Apple iphone 2G replacement locations
    on-line. If Apple iphone 5 arrives with LTE support, this is a purpose enough to get the gadget without any ado.

  4. Twist-Up your-face, increase your head, or make oneself appear to be
    an alien, a comic book character, or a xray. Windows reseller hosting plans have been in quality, resell the Windows hosting plans.

  5. Be a little bit more cautious with these
    options. If this is the situation right here are two much more possible treatments.
    Until then, perform it secure and be professional.
    My advice is to use 4GB and greater, for Windows seven.

  6. Ei executa miscari de gimnastica pe stâlpi , aderarea gimnastică cu dans erotic .
    În cazul în care este planeta care guvernează casa a 5- a descoperit în graficul ?
    Și e adevărat că se pot face bani destul de decent a
    face acest lucru .

  7. If they have it in their head that you are simply a sexual partner there’s very little that will alter their minds.
    Who else wants to speak about issues women love in bed?
    You do it by shoving the right emotional buttons.

  8. Do you mind if I quote a few of your posts as long as I provide credit and sources back to your
    weblog? My blog site is in the exact same niche as yours and my
    users would truly benefit from a lot of the information you provide here.
    Please let me know if this okay with you. Thanks a lot!

Leave a Reply

Your email address will not be published. Required fields are marked *