Skip to content

tlynn/bitlike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitlike, a micro:bit simulator

It's not complete, but a few of the micro:bit examples work. It runs in your browser.

This is not the official Touch Develop simulator, which is described here, and is doubtless more capable in every way :-). In particular, that probably emulates the hardware, which is a much more reliable approach.

This is just a toy.

How to install

Create and activate a Python 3 virtualenv directory, then run:

pip install -U -r prereqs.txt
pip install -U -r requirements.txt

How to use

python3 -m bitlike examples/snake.py

It will print "Serving at http://localhost:8888/". Follow the link, or copy it into your browser.

You can stop the simulator by holding down Ctrl and pressing 'c' (Ctrl-C).

You can keep the browser window open and reuse it if you run another simulation.

About

A micro:bit simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published