Draw on a squared paper sheet.
The entrance is 1 square wide.
The dungeon has 3 stats: danger, depth, secret. Spread +2, +1, -1.
| // Install the "AVR Standard C Time Libaray", used for faster PWM frequencies | |
| // and smoother analog cv output. | |
| #include <avr/io.h> | |
| // GPIO Pin mapping for knobs and jacks. | |
| #define P1 0 // Probability | |
| #define P2 1 // Sequence step length | |
| #define P3 3 // Amplitiude | |
| #define P4 5 // Refrain count |
| /************* | |
| * ambush.js * | |
| ************* | |
| * | |
| * Oh. Oh, I see. This wasn't quite part of the plan. | |
| * | |
| * Looks like they won't let you take the Algorithm | |
| * without a fight. You'll need to carefully weave your | |
| * way through the guard drones. | |
| * |
| # subclass for touch event in unit test | |
| class UTMotionEvent(MotionEvent): | |
| def depack(self, args): | |
| self.is_touch = True | |
| self.sx = args['x'] | |
| self.sy = args['y'] | |
| self.profile = ['pos'] | |
| super(UTMotionEvent, self).depack(args) | |