← All Prototypes

Matchstick Riddle

game puzzle 3d math

A 3D matchstick puzzle game — rearrange matchsticks on a wooden table to fix broken math equations. Features realistic fire particle celebrations and smooth pick-and-place animations built with Three.js.

Starter Prompt

Create a 3D matchstick puzzle game using Three.js and React. Matchsticks are arranged as seven-segment display digits forming an incorrect equation like '5 + 3 = 6'. Players click to pick up a matchstick, then click an empty slot to place it and fix the equation. Use realistic matchstick models with wooden bodies and red phosphorus tips on a dark wood table. Add smooth lerp-based flight animations for pick/place, ghost outlines for empty slots, and a multi-layered fire/smoke/ember particle celebration on solve. Include 3 progressive puzzles, level dots, move counter, hint system, and warm amber lighting with PCF soft shadows.