Equation Pyramid - A Math Puzzle Game Inspired by The Devil's Plan

Published on

Equation Pyramid - Math Puzzle Game

​
Introduction

Equation Pyramid is an interactive math puzzle game inspired by the Netflix reality show The Devil's Plan: given a set of numbers, arrange arithmetic operations to form valid equations.

It's an open-source project Carol and I built together β€” she designed the game experience and interface, and I turned it into a 3D game you can play right in the browser.

​
Demo & Source Code

No download needed β€” it runs in your browser.

​
Why we created this project

After watching The Devil's Plan, we were hooked on the Equation Pyramid game: simple rules (form equations from numbers), deep strategy (the same numbers combine in many ways), and dangerously addictive.

The problem: there was nowhere to play it online. So we built one ourselves β€” and open-sourced it so anyone who loves the game can play it in the browser.

​
Key Features

  • Strategic challenge: arrange arithmetic operations into valid equations β€” every position matters.
  • Instant validation: equations are checked automatically, so you know right away whether you got it.
  • 3D pyramid: the pyramid comes alive as you solve, making the puzzle feel immersive.
  • Any device: works on desktop, tablet, and phone.

​
Technologies

Equation Pyramid is a web game built with Next.js, TypeScript, and React Three Fiber, deployed on Vercel. If you're curious about 3D rendering in React or game logic, the whole codebase is on GitHub β€” dig in.

​
Closing

Ready to test your math instincts? Head to equation-pyramid.carolhsiao.com and play.

If you enjoy it, a star on GitHub makes our day β€” and if you find a bug or have an idea, open an issue or leave a comment below!