MARCH 14, 2026

PI BLASTER 3.14

THE CRUST AWAKENS

An 80s arcade love letter to the most delicious number in mathematics

THE MISSION

Every year on March 14th, mathematicians, engineers, and pie enthusiasts around the globe celebrate Pi Day -- that magical convergence of circles and crust. For 2026, we wanted to create something special: a tribute that fuses the neon-soaked glory of 1980s arcade cabinets with humanity's favorite irrational number.

Pi Blaster 3.14: The Crust Awakens is a browser-based arcade shooter built from the ground up with Next.js and Phaser.io. Every sprite is drawn procedurally. Every sound effect is synthesized in real-time through the Web Audio API. No image files. No audio files. Just code, math, and a love of pastry.

GAMEPLAY

You pilot a neon starfighter at the bottom of the screen, armed with an infinite supply of pies. Six varieties -- Cherry, Apple, Blueberry, Pumpkin, Key Lime, and the legendary Pizza Pi -- launch upward at waves of descending sweet-toothed invaders: Donuts, Cupcakes, Candy, Ice Cream Cones, and Lollipops.

The twist? Each level is governed by the digits of Pi. The first level has 3 waves (from the "3" in 3.14159...). The second has 1 wave. The third has 4 waves. As you blast deeper into Pi's decimal expansion, the enemies get faster, tougher, and more numerous. Every fifth level summons a massive Boss -- a towering layered cake that sprays bullets in fan patterns.

6 PIE TYPESEach with unique visuals and point values
5 ENEMY TYPESDonuts, Cupcakes, Candy, Ice Cream, Lollipops
5 POWER-UPSRapid Fire, Triple Shot, Shield, Pie Bomb, 2x Score
BOSS FIGHTSGiant layered cakes every 5 levels

THE TECH

We chose a deliberately constrained tech stack. The game runs entirely in the browser with zero external assets. Here's what powers it:

  • Next.js 13 -- App Router with dynamic imports and client-side rendering for the game canvas
  • Phaser 3 -- The industry-standard HTML5 game framework handling physics, rendering, and scene management
  • Web Audio API -- Synthesized 8-bit chiptune sounds using oscillators, noise buffers, and frequency sweeps. No audio files needed
  • Procedural Sprites -- Every visual element is drawn programmatically using Phaser's Graphics API and converted to textures at boot time
  • localStorage -- All high scores, settings, and progress persist locally with no server or database required

The visual aesthetic draws from the classic arcade era: CRT scanline overlays, neon glow effects, a scrolling starfield background, and the iconic "Press Start 2P" pixel font. The entire UI frame is styled as a virtual arcade cabinet, complete with a marquee header and side panel displaying live stats.

MOBILE PLAY

Pi Blaster plays on mobile devices too. On phones and tablets, the game detects touch capability and presents a virtual gamepad overlay: left and right arrows for movement, a FIRE button, a BOMB button, and a pause toggle. All menu screens adapt their labels and interactions for touch input.

For the best experience on mobile, rotate your device to landscape mode. The game canvas scales automatically to fit your screen. A fullscreen button lets you take over the entire display for an immersive arcade feel on the go.

WHY PI DAY?

Pi (3.14159...) is arguably the most famous number in mathematics. It appears everywhere -- from the orbits of planets to the ripples in a pond, from engineering formulas to quantum physics. It's also infinite and non-repeating, making it the perfect theme for a game where the challenge never truly ends.

And then there's the pun. Pi sounds like pie. March 14th is 3/14. It was too perfect not to build a game where you literally blast pies at junk food enemies while the digits of Pi determine the structure of every level. Mathematics meets pastry meets laser fire. That's Pi Day at its finest.

"How I need a drink, alcoholic of course, after the heavy lectures involving quantum mechanics."-- A classic Pi mnemonic (word lengths = 3.14159265358979)

HOW TO PLAY

DESKTOP

ARROWS / WASDMove ship
SPACEFire pie
BPie bomb (clears screen)
ESCPause

MOBILE

< > BUTTONSMove ship
FIRE BUTTONFire pie
B BUTTONPie bomb
|| BUTTONPause