Platform game written for the GHI/OutrageousCircuits RETRO game device. Navigate the caves collecting all the pickups and avoiding the creatures and haunted mine carts that patrol the caves. Oh and remember to watch out for the poisonous plants... This game demonstrates the ability to have multiple animated sprites where the sprites can overlap the background environment. See how the player moves past the fence and climbs the wall in the 3rd screen.

Dependencies:   mbed

Revision:
3:a93fe5f207f5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/OneBitSound/OneBitSound.h	Sat Dec 27 23:24:30 2014 +0000
@@ -0,0 +1,19 @@
+#ifndef __ONEBITSOUND_H__
+#define __ONEBITSOUND_H__
+class OneBitSound
+{
+    public:
+        OneBitSound(PinName pin);
+        
+        void play(const SoundBlock soundBlocks[], int count);
+    
+    public:
+        void update(int elapsedTime);
+        
+    private:
+        DigitalOut      _soundPin;
+        bool            _lastPinState;
+        SoundChannel    _channels[4];
+        int             _totalElapsed;
+};
+#endif //__ONEBITSOUND_H__
\ No newline at end of file