An implementation of a quantum version of the Rubik's cube on a PewPew device, using MicroQiskit. This game was created at Qiskit Camp Europe 2019.
The game can be run on a standard computer with Python 3 using the emulator, which is included in this repo in the pew.py file. Using the emulator requires pygame to be installed.
Unlike the emulator, the PewPew only has 32kB of RAM, imposing more restrictions on what games can be run. The *.py
files (excluding the pew.py
emulator file) in the src
directory could usually just be placed directly on the PewPew if RAM was not an issue, which would then run code.py
using CircuitPython. However, to fit this game in memory, it is instead necessary to transfer the precompiled bytecode in the mpy
directory onto the device.