Vacuum Invaders

We have added support for CircuitPython on blip with blip-boy shield . Now you can easily develop any firmware in python using blip. Here we will show how you can run the classic Space Invaders arcade game on blip using circuit python.

The code for his game is taken from python-ugame/vacuum-invaders repository on github by Radomir Dopieralski. We would like to thank him for it, it made our task easier.

Vacuum Invaders!

Instruction to run Vacuum Invaders on Blip Boy

  1. Download Nordic semicondictor's s140 softdevice
  2. Download Circuitpython firmware .hex file, at least 5.x from circuitpython.org Blip page
  3. Flash Circuitpython to Blip
tavish@computer:~/repos/el/public/ElectronutLabs-blip (master)*$ arm-none-eabi-gdb
GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q3-update) 8.1.0.20180315-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
(gdb) tar ext /dev/ttyACM0
Remote debugging using /dev/ttyACM0
warning: No executable has been specified and target does not support
determining executable automatically.  Try using the "file" command.
0x0000384c in ?? ()
(gdb) mon swdp_scan
Target voltage: unknown
Available Targets:
No. Att Driver
 1      Nordic nRF52
 2      Nordic nRF52 Access Port
(gdb) att 1
A program is being debugged already.  Kill it? (y or n) y
Attaching to Remote target
warning: No executable has been specified and target does not support
determining executable automatically.  Try using the "file" command.
0x0000384c in ?? ()
(gdb) load s140_nrf52_6.1.0_softdevice.hex
...
...
(gdb) load adafruit-circuitpython-electronut_labs_blip-en_US-20191014-756e4a4.hex
...
...

Now the blip will appear as CIRCUITPY drive in your system.

  1. Clone ElectronutLabs-blip repository and copy the contents of code/shields/blip_boy_vacumm_invaders_game directory and paste the content to CIRCUITPY folder when you plug in the Blip.

Now, Vacuum invaders, created by Radomir Dopieralski will start playing on your blip!