An open API service indexing awesome lists of open source software.

https://github.com/bazbt3/pybadge-adventure

A MakeCode adventure game for the Adafruit PyBadge computer.
https://github.com/bazbt3/pybadge-adventure

adafruit game makecode makecode-arcade pybadge

Last synced: 23 days ago
JSON representation

A MakeCode adventure game for the Adafruit PyBadge computer.

Awesome Lists containing this project

README

          

# What is this?

A necessarily simple adventure game program created for the [Adafruit PyBadge computer](https://www.adafruit.com/product/4200). An early 'playable' version can be found at [https://bazbt3.github.io/pybadge-adventure/](https://bazbt3.github.io/pybadge-adventure/).

## Controls at the start of the project

* Advancing between moves: button A.
* Movement: N = up button, E = right, S = down, W = left.

![Photo!](/img/pybadge-adventure_photo.jpeg)

## Enhancements intended

* None, it is perfect!

## What is an Adafruit PyBadge?

An [embedded system](https://en.wikipedia.org/wiki/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.

## How was the program created?

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](https://arcade.makecode.com) 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'.

## PLAY IT!

**Open this page at [https://bazbt3.github.io/pybadge-adventure/](https://bazbt3.github.io/pybadge-adventure/).**
*(Read the on-screen instructions during the game).*

## Edit this project ![Build status badge](https://github.com/bazbt3/pybadge-adventure/workflows/MakeCode/badge.svg)

To edit this repository in MakeCode.

* open [https://arcade.makecode.com/](https://arcade.makecode.com/)
* click on **Import** then click on **Import URL**
* paste **https://github.com/bazbt3/pybadge-adventure** and click import

## Blocks preview

This image shows the blocks code from the last commit in master.
This image may take a few minutes to refresh.

![A rendered view of the blocks](https://github.com/bazbt3/pybadge-adventure/raw/master/.github/makecode/blocks.png)

#### Metadata (used for search, rendering)

* for PXT/arcade
makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");