← All games
Clay cakes split across three porcelain stands on a gingham tablecloth, with one rainbow tier lifted in the air

CAKE STACK Tower of Hanoi

🎮 Play now

CAKE STACK is a free Tower of Hanoi puzzle where you move a soft 3D cake one tier at a time between three stands and stack it again on stand 3. No download, it starts right in your browser on phone or PC.

Tap a stand and the top tier stretches as it lifts. Tap another stand and it lands with a soft plop. You can drag it too. The rules are the same as the Tower of Hanoi: move one tier at a time and never put a bigger cake on a smaller one. Try it and the cake bounces back with an OOPS.

The cakes are as soft as jelly. They stretch when you lift them, sway the other way as they fly, squash when they land and wobble, shaking the tiers below too. Move the whole cake to stand 3 to CLEAR, and finish in the minimum number of moves for 3 stars. Undo and Reset let you fix your solution as many times as you like.

There are 20 stages. You start with a 3 tier strawberry cream cake and go through lemon meringue, mint chocolate, tiramisu, red velvet, black sesame, cherry blossom, salted caramel, Christmas and starry night, ending with an 8 tier wedding cake. Every stage changes the flavor, decorations, wallpaper and tablecloth, and more than half of them start with the cake scattered across the three stands, so the same height gives you a new puzzle. Finish the wedding cake and five candles light up one by one.

Found a bug or something annoying? Report it below

Go to Community →

Category
Free game, indie game, casual game, puzzle game
Build time
1 day
Tech
Three.js 3D, jelly cakes that squash and sway on a spring per tier, clay texture shader, sound effects and music box tune made in code with Web Audio
Players
1
Platform
Mobile (landscape and portrait), PC
Content
20 stages (3 to 8 tiers, 14 scattered starts), 1,571 moves if you solve all of them perfectly, ending and result card
Status
Complete
Released
2026-12-05
Last updated
2026-12-05

Good for — anyone who wants to solve the Tower of Hanoi by hand, anyone who likes the feel of soft wobbly cakes to relax, and anyone looking for a short casual game in the browser.

Frequently asked questions

What are the Tower of Hanoi rules?

It is a puzzle with three stands and disks of different sizes, and in CAKE STACK the disks are cake tiers. You can only move the top tier, one at a time, and you can never put a bigger tier on a smaller one. Follow those rules and move the whole cake to another stand. Here the goal is always stand 3.

What is the minimum number of moves?

When a stage starts with every tier on one stand, the minimum is 2 to the power of n minus 1 for n tiers. That is 7 moves for 3 tiers, 31 for 5 tiers and 255 for the 8 tier wedding cake. Scattered stages each have their own minimum, shown in the MIN box at the top of the screen.

How are stars given?

Finish in the minimum number of moves for 3 stars, within 1.5 times the minimum for 2 stars, and anything more gets 1 star. Your best result is kept for every stage. Clearing a stage unlocks the next one, even with fewer stars.

What is a scattered cake stage?

It is a stage that starts with the tiers spread across the three stands. 14 of the 20 stages start this way, and each one always has the same starting layout. A bigger tier never starts on top of a smaller one, and the goal is still to stack the whole cake on stand 3.

Can I take back a wrong move?

Yes. Undo or the Z key takes back one move at a time and lowers the move count by one. Reset or the R key puts the stage back to its starting layout. If you are holding a tier, tap the stand it came from to put it back without counting a move.

Does it end?

Yes. Move the stage 20 wedding cake to stand 3 and five candles light up one by one on the top tier. Then a result card shows your stars, the total of your fewest moves, the total of your best times and your title, and you can save or share it. There is no endless mode after the ending.