A necessarily simple adventure game program created for the Adafruit PyBadge computer. An early 'playable' version can be found at https://bazbt3.github.io/pybadge-adventure/. (Note that the pages generated in my micro:bit repos linked to the githu.io page not the game.)
- Advancing between moves: button A.
- Movement: N = up button, E = right, S = down, W = left.
- Basic combat, potentially using a combination of the Select and Start buttons.
An embedded system computer the size of a credit card. It has a 1.8" colour display, 5 bright 'NeoPixel' LEDs, 8 'game' buttons, an accelerometer and buzzer built-in, and a comprehensive set of interface options for external sensors and controllers. It can run CircuitPython, MakeCode Arcade or Arduino code, which must be written on a computer or a portable device before 'flashing' the program to the PyBadge via a USB cable.
It uses the Microsoft MakeCode IDE (blocks of code similar to Scratch.) In this case all the coding has used the arcade.makecode.com web application with some ancillary files (e.g. this one) edited in the Microsoft VS Code code editor.
Note: I have used only the block editor for code creation so be aware that the underlying 'written' code may not be ordered 'neatly'.
Open this page at https://bazbt3.github.io/pybadge-adventure/
To edit this repository in MakeCode.
- open https://arcade.makecode.com/
- click on Import then click on Import URL
- paste https://github.com/bazbt3/pybadge-adventure and click import
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
- for PXT/arcade