/Qiskit-for-GameDev

Tools for making game with IBM Qiskit

Primary LanguageLua

Qiskit for GameDev

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.

Game engines

Game engines that have been used with Qiskit

  1. Pygame: native python open soure framework for making games.

  2. Unity: a very popular cross-platform game engine.

  3. Minetest: an open source Minecraft-like voxel game.

  4. Jupyter Wigets: Not really a game engine, but a way of implementing interactivity with Python.

Game engines that have been used with MicroQiskit

MicroQiskit can be used with all of the above, as well as the following.

  1. PICO-8: a fantasy console for making, sharing and playing tiny games and other computer programs. Very popular in game jams.

Game engines we will target in future

  1. Godot: a trending, free and open-source game engine.

How to use?

Tutorials on how to use the tools here will be added soon. Please check examples of the usage in the examples below.

Examples

Pygame

Unity

  • QPong-Unity: QPong rewritten in Unity, custom built for IBM Quantum Arcade machine.

Minetest

  • QiskitBlocks: Game that teaches quantum computing using Qiskit in a Minetest block world.

Jupyter Widgets

  • 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.

PICO-8

  • Fredventure: A minimal PICO-8 game, with terrain generated by porting the single qubit algorithm explained here.

Other useful repo for making games with Qiskit

Making games in PewPew with Pygame and Qiskit: