Navigate Home - QGames THUAS LogoSkip to main content

Qonnect Four

Qonnect Four game cover and previewPlay game
Game preview image for Qonnect Four - Click the play button to start playing
Workshop. 2023
Genre. Puzzle, Strategy

Other Games

Browse Collection

Description

Qonnect Four gets a quantum overhaul! In this reinvention of the beloved classroom classic you still aim to connect four identical pieces, but now you can bend the rules of reality with quantum entanglement.

Instead of placing just one piece, you may entangle two candidate positions. Until the pair is measured, both squares display a shimmering quantum link that belongs to neither player. When a measurement occurs, a quantum circuit collapses the pair into either two circles or two crosses with equal probability.

This mechanic forces you to think several moves ahead, weigh risk versus reward, and even weaponize uncertainty against your opponent. Can you master probability and planning to line up four before your rival?

Theory

Quantum Entanglement

Entanglement is a phenomenon where two or more qubits share a single quantum state. Measuring one instantly defines the state of the other, no matter how far apart they are.

In the game, an entangled pair is visualised as two animated placeholders that alternate between a circle and a cross. Without hovering, each symbol grows from the centre and fades before repeating; when you hover over either square they merge into an eye-shaped ellipse that gently pulses outward. These spots still have no fixed owner until they are measured—clicking either one runs a tiny quantum program that collapses the pair:

stateDiagram-v2
    accTitle: "Quantum Entanglement Collapse"
    accDescr: "State diagram showing that an entangled pair stays in superposition until a measurement collapses it to either outcome 00 or outcome 11 with equal probability."
    [*] --> Entangled: Entanglement created
    note right of Entangled: No measurement - pair remains in superposition
    Entangled --> CollapsedX: Measure → X
    Entangled --> CollapsedO: Measure → O
    CollapsedX --> [*]
    CollapsedO --> [*]

Behind the scenes the code uses the quantum-circuit library to create a one-qubit circuit, apply a Hadamard gate, and measure, delivering a perfectly fair 50 / 50 result.

From Physics to Gameplay

  1. Create entanglement - tick the Entangled checkbox and place a second piece.
  2. Maintain superposition - while the pair is unmeasured it blocks both squares for classical moves.
  3. Collapse the state - click either piece to trigger measurement and reveal two identical symbols.

Created By THUAS Students

Group photo of the creators who developed Qonnect Four

Game Credits

Christer Jacobs
HBO-ICT
Furkan Göçer
HBO-ICT

Workshop 2023

This game was made during the workshops of year 2023. We recommend to check out the upcoming workshops if interested in joining.

See Upcoming Workshops

Instructions

Controls

ActionInput
Place classical pieceClick on the desired column
Toggle entanglement modeCheck the Entangled checkbox (enabled only after your opponent's previous classical move)
Measure an entangled pairClick on either linked piece

Objective

Connect four of your symbols (circles or crosses) in a straight line—horizontal, vertical, or diagonal—before your opponent does.

Turn Structure

Each turn you may perform up to three actions:

  1. Classical Move - place one standard piece of your colour.
  2. Entangle Move - while Entangled is checked, place a second piece that is linked to your opponent's previous classical move (not allowed if your opponent's last action was an entangle).
  3. Measurement - click any entangled piece to collapse its pair; both positions become circles or crosses with equal probability.

Quantum Features

  • Entanglement: Two squares share the same unknown value until observation.
  • Quantum Randomness: Measurement uses a Hadamard gate followed by a read-out to ensure a 50 / 50 outcome.
  • Non-local Collapse: Both squares resolve simultaneously, mirroring real quantum correlations.

Strategy Tips

  • Use entanglement to threaten multiple winning lines at once.
  • Delay measurement to keep options open and create pressure.
  • Remember your opponent can also measure an entangled pair—but the result may favour them!

Screenshots

Qonnect Four
0 of 1