Tip:
Highlight text to annotate it
X
this is my snake project. it is the game of snake controlled via a touchpad.
as you can see there's a program running on my computer. this program is responsible for
trapping my mouse and communicating with the microcontroller
via this usb...
usb communicator
I'm not sure what it's called but it is the National Instruments USB-6008 device.
I've had it sitting in my closet for
quite some time
as you can see, as I make gestures on the touch pad
uh... the
matrix moves
er.. the snake moves along the matrix
It's the game of snake so I can eat the items.
unfortunately the matrix is only one color so everything is the same color
which makes thing a little bit confusing
but all the rules of snake apply
the score is displayed on the
lcd
uh... if I crash into myself... if I try to eat myself... it will say I died
and give you the score count
and then wait for additional input
the keypad sitting over here is an alternative input
in case you don't want to use the touchpad you can do everything with the keypad
simple
uh.. the lcd is controlled
by two shift registers, they are daisy chained
the lcd's data bus is controlled by a shift register as well
and that is it