Skip to content

Quantris

A Tetris-inspired puzzle game where falling pieces exist in quantum superposition. Blocks can be "quantum" (partially existing) and entangled with each other.

Overview

Pieces have a quantum "existence" property. When quantum interventions are activated, pieces enter superposition and may entangle into groups. Line clearing measures quantum pieces. Those that collapse to "doesn't exist" leave gaps, creating uncertainty in what would otherwise be a complete line.

Key Mechanics

MechanismGateGame Effect
Existence statecycleSet piece existence to |1⟩ when spawned
SuperpositionhadamardQuantum intervention puts pieces in superposition
Entanglement groupsi_swap(0.5)Overlapping pieces entangle into correlated groups
Coherence visualizationreduced_density_matrix()Glow intensity from off-diagonal magnitude
Line clear measurementmeasure_properties()Clearing a line collapses all quantum pieces in it

Entanglement groups create a scoring mechanic: more entangled pieces in a clear gives a higher multiplier. The reduced density matrix drives piece visualization: probability controls opacity, coherence controls glow intensity.

Powered by Quantum Forge