This repository contains examples of MicroPython code for BBC micro:bit development board plugged into Kitronik's :GAME ZIP64 console, which adds:
- an 8x8 matrix of coloured NeoPixels (pin0)
- 6 extra buttons (pin8, pin12, pin13, pin14, pin15, pin16)
- a vibrator for haptic feedback (pin1)
- a piezo buzzer (pin2)
- on-board batteries for autonomy
A two-player version of classic Connect 4 game.
Here we show how to use NeoPixel screen as a 2D matrix, how to scan keys, how to use the vibrator.
A minimalistic implementation of Colour lines game.
Here we show how to create a highlighting cursor, how to detect reachability between two points in a maze using very little heap memory available.
An easier-to-understand (but more heap-memory greedy) maze reachability algorithm for non-Micro Python .
An implementation of the game of 2048 .
There is a natural way to map a grid of 4x4 tiles onto the matrix of 8x8 pixels by using 2x2 pixel tiles, which gives us an additional way to colour-code them by using patterns in addition to "solid" colours.