Puzzles & Brain Teasers

Snake4D

Snake acquires a fourth axis and promptly becomes gloriously unreasonable.

Snake4D rebuilds the familiar eat-grow-crash loop inside a mathematically modeled four-dimensional world. Red and blue tints hint at positions along the extra axis, keyboard turns remap the projection, and an AI demo takes the first shift because ordinary spatial intuition is suddenly outnumbered.

What is Snake4D?

The rules are classic Snake; the space absolutely is not. Snake4D places the moving head, food, walls, and tail inside an 11-by-11-by-11-by-11 grid, then projects that world down twice so it can reach a flat screen. WASD handles familiar three-dimensional turns, while Q, E, and Space swap in the fourth axis and rearrange what the wireframe means. Food adds three segments, collisions still end the run, and colored guidelines offer a shaky handrail through the geometry. The creator is candid that this is a proof of concept before it is a human-friendly game, which is precisely the charm: it lets an old arcade rule set expose how quickly intuition frays outside three dimensions.

What you can do there

  • Watch an AI navigate a projected four-dimensional Snake world
  • Learn the controls in a constrained tutorial
  • Rotate among four spatial axes to reach targets

Why we picked it

A self-playing demo is usually a consolation prize; here it is part of the thesis. Watching the AI keep its bearings makes the extra dimension legible enough to admire, while the tutorial leaves the door open for anyone determined to bend their own spatial sense.

How to get the most from it

Begin with Demo mode and watch how targets, guidelines, and red-blue offsets move when the projection changes. Switch to Tutorial before trying Classic. Use WASD for ordinary turns, Q and E for fourth-axis turns, and Space when a target lines up across the color axis.

Good to know

WebGL 2 and hardware acceleration are required. The display can become visually dense as the tail grows, and red-blue color encoding carries important positional information. The source code is public under the MIT license.

Who made it, and when?

eugeneko is the credited creator or organization.

Creator’s official page
Reviewed by Site Stumble editorial

Last editorial review: October 12, 2026. Our notes combine direct observation, first-party information when available, and independent research.

Read our methodology
Open Snake4D