Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

Quantum BreakoutView game page

A quantum version of the Classic Breakout Game to learn basics of quantum computing in a easy way!
Submitted by Ashmit JaiSarita Gupta (@jaisarita) — 18 hours, 15 minutes before the deadline
Add to collection

Play game

Quantum Breakout's itch.io page

Description of the game
The Quantum Breakout Game is a quantum version of the Classic Breakout Game by Atari, Inc. built using Pygame and Qiskit. In the Classic Breakout Game, the player has to knock down as many bricks as possible by using a single ball and the paddle below to hit the ball against the bricks and eliminate them. In this quantum version of the game, players have to control the paddle by constructing a three-qubit circuit such that the probability of the paddle being above the state vector where the ball is about to come is maximum. The probability of the paddle being above a certain state is indicated by the opacity of the paddle, 100% opacity (pure white) indicates the 100% probability and 0% opacity (transparent) indicates the 0% probability of the state. As the ball comes near the paddle the measurement is done and the position of the paddle collapses to a being above a certain state which was in superposition before the measurement.

This game helps school students and college freshmen to understand the basic concept of quantum computing: Qubit manipulation by Quantum Gates.

This game is highly inspired by the QPong game developed by Junye Huang. I am thankful to him and Qiskit for releasing a basic tutorial for building QPong in a YouTube series: 12 Days of Qiskit (https://youtube.com/playlist?list=PLOFEBzvs-VvodTkP_rfrs3RWdeWE9aNRD) without which it would have been hard for me to develop this game.

# Download & Install Instruction
1) Unzip the Downloaded Zip File
2) Open the Game Folder
3) Install the requirements using the command: `pip install -r requirements-dev.txt` on your terminal.
4) Run the `main.py` file using the command: `python main.py`

# Play Instruction
- Use the W, A, S, and D keys to move the marker on the circuit for adding gates at appropriate places.
- Use the X key to apply the X-Gate, the Y key to apply the Y-Gate, the Z key to apply the Z-Gate, and the H Key to apply the H-Gate.
- Use the C key to activate the control qubit, use the UP, DOWN, RIGHT, and LEFT keys to reach the target qubit, and then click the key representation (X, Y, Z, and H Keys) for the gate which you want to be controlled.

Credits (names/nicks + roles)
Ashmit JaiSarita Gupta - Developer

How is your game related to quantum physics?
This game uses the quantum physics laws of how quantum gates act on the state of a three-qubit system. The movement of the paddle in the game is controlled by the state of this three-qubit system which can be brought into the desired states by applying quantum gates.

How is your game related to the theme (e)motion?
The whole game depends on the movement of the ball and the paddle controlled by the three-qubit quantum circuit. We use quantum gates to change the state of the three-qubit system which in turn controls the position of the paddle. When the ball, if it hits the paddle after the measurement is done it bounces back toward the brick and breaks it.

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet