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

- Canonical: https://easonchang.com/posts/equation-pyramid
- Date: 2025-07-27T00:00:00.000Z
- Language: en
- Description: Equation Pyramid is an open-source 3D math puzzle game inspired by Netflix's The Devil's Plan: arrange arithmetic operations to form valid equations. Built with Next.js and React Three Fiber — playable right in your browser.

![Equation Pyramid - Math Puzzle Game](/images/projects/equation-pyramid.jpg)

## 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](https://carolhsiao.com) 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

- **Play now:** [equation-pyramid.carolhsiao.com](https://equation-pyramid.carolhsiao.com)
- **Source code:** [github.com/carolhsiaoo/equation-pyramid](https://github.com/carolhsiaoo/equation-pyramid)

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](https://nextjs.org/), TypeScript, and [React Three Fiber](https://docs.pmnd.rs/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](https://equation-pyramid.carolhsiao.com) and play.

If you enjoy it, a star on [GitHub](https://github.com/carolhsiaoo/equation-pyramid) makes our day — and if you find a bug or have an idea, open an issue or leave a comment below!
