[Microbit-Python] Failed attempt at Whack-A-Mole

Damien George damien.p.george at gmail.com
Tue Oct 6 13:24:42 CEST 2015


As for RAM limitations... I am working on it!

On Tue, Oct 6, 2015 at 12:09 PM, Larry Hastings <larry at hastings.org> wrote:
>
>
> Attached is my test harness for my virtual screen technology.  Load that in
> using upyed download firmware and reset.  You can now scroll an image around
> on the screen of four hollow boxes.  The full image looks like so:
>
> ...........
> .XXX.......
> .X.X.......
> .XXX.......
> .XXXXXX....
> .X.XX.X....
> .XXXXXX....
> .......XXX.
> .......X.X.
> .......XXX.
> ...........
>
> The scrolling is responsive and debounced.
>
>
> Attached also is my attempt to turn that screen scrolling technology into a
> game of Whack-A-Mole.  The game draws one square per second; your goal is to
> scroll the screen so that the center is pointed at that square and press
> either button.  I run out of memory while compiling.
>
> I had some neat ideas for games, but if I'm this limited on RAM, well...
> sigh.
>
> Can anybody get Whack-A-Mole to run?
>
>
> /arry
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>


More information about the Microbit mailing list