This is a repo to put useful tools for making games using Qiskit, IBM's open source framework for making software for quantum computers. Codes used here were derived from works of James Weaver, Huang Junye and Asier Arranz.
There is also information here on using MicroQiskit, a minimal reimplementation of Qiskit in various programming languages.
-
Pygame: native python open soure framework for making games.
-
Unity: a very popular cross-platform game engine.
-
Minetest: an open source Minecraft-like voxel game.
-
Jupyter Wigets: Not really a game engine, but a way of implementing interactivity with Python.
MicroQiskit can be used with all of the above, as well as the following.
- PICO-8: a fantasy console for making, sharing and playing tiny games and other computer programs. Very popular in game jams.
- Godot: a trending, free and open-source game engine.
Tutorials on how to use the tools here will be added soon. Please check examples of the usage in the examples below.
-
Quantum Circuit Pygame: Quantum circuit game with Qiskit and Pygame
-
QPong: Quantum version of the class Pong game.
- QPong-Unity: QPong rewritten in Unity, custom built for IBM Quantum Arcade machine.
- QiskitBlocks: Game that teaches quantum computing using Qiskit in a Minetest block world.
- Jupyter Widget game engine: A simple game engine (and example game) that can be embedded in Jupyter notebooks and run the the IBM Quantum Experience.
- Fredventure: A minimal PICO-8 game, with terrain generated by porting the single qubit algorithm explained here.
Making games in PewPew with Pygame and Qiskit: