The original snake game for the mbedgc

Dependencies:   mbed EthernetNetIf HTTPClient

Fork of SimpleLib_03272011 by J.P. Armstrong

Revision:
0:011be8250218
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbedGC/Snake.h	Sat Apr 02 23:23:07 2011 +0000
@@ -0,0 +1,23 @@
+#define Node struct NodeStruct
+
+Node
+{
+    int x, y;
+    Node * next;
+};
+
+class Snake
+{
+    public:
+        Snake( );
+        void addHead( int xC, int yC );
+        void removeTail( );
+        int getTailXCor();
+        int getTailYCor();
+        int getSize();
+        
+    private:
+        Node * head;
+        Node * tail;
+        int size;
+};
\ No newline at end of file