Source code

follow up the source code here: https://github.com/wslu42/qilin 

Quantum ideas involved in this game

In this work I implemented randomness, superposition and entanglement through QASM backend (micro-qiskit for LUA, specifically). The user control is just a three-qubit circuit composer with circuit depth = 3, and by using X, H, and CX gates we asked user to come up with states match to the falling enemies.

The idea that I am experimenting is how to represent in-game locations with quantum states. In Qilin this is realized in controlling where the laser beams are shooting. It requires proficient understanding of 3-qubit states and the player's fast response to put together a quantum circuit which maps to the enemy's location using circuit composer. The goal is simple - shoot down as many as enemies as you can!


A detail walkthrough for gameplay

Picture1 Picture2 Picture3 Picture4 Picture5


Development log

Comments

Log in with itch.io to leave a comment.

Did you implement this also on the arcade platform you have developed? 

Yep! I plan to make a short video about the gameplay with QArcade. Will share it here as well!

Haha! This was both pretty and kinda fun, through I succeeded better by randomly blasting through than when I was trying to concentrate on the qubits, their locations and gate positions :D 

Yeah I think an in-game walk through and level design is still necessary to make this game more easy for starters. Thanks for the feedback!