✦Watch on Google Drive

Q-sweeper stands for quantum minesweeper. This is also the first project by the team of Studio Degen. We recreated the traditional game by applying quantum concepts, such as noise and entanglement, to it. Our map generation is done using data from a quantum algorithm to place the mines in our game.

It is a game me and four other teammates: Apurv, Tanvi, Hyacinth, and Shangshang developed together as a part of the IBM x Parsons Quantum Design Jam. We are also bringing this project further into installations and thinking about making a Quantum Arcade by recreating more classic games with quantum concepts.

In this project, I did sound design, video editing and animations, along with a small part of visual assets creation and backend coding.

✦Play Q-Sweeper

We created the maps using Bernstein-Vazirani algorithm, an extension of the Deutch-Jozsa algorithm. The 1024 tiles in our board correspond to 1 out of the 1024 shots taken on the quantum computer. Thus, the map transforms into a visualisation of the data and its associated noise.

The game has two main features: entangled mines and interfering tomatoes. A percentage of the mines are pre-determined to be entangled mines. These mines are interconnected with 2 or 2 other mines. Opening one of these mines will reveal the other mines, but will not end the game. The number of tomatoes are dictated by a percentage of the q-bit data and are placed randomly across the board covering blank and numbered tiles making the game harder for the player.

q sweeper map 1
q sweeper map 2
q sweeper map 3
q-sweeper screenshot q-sweeper screenshot

References

We ran our algorithm on the lima quantum computers from IBM's Qiskit starter kit. Our sound was built on Ableton using the Quantum Music Playground.
The javascript code was built on top of a coding train minesweeper project and the flagging was based on the code here.