Skip to content

Arcade › Neon Snake

Neon Snake

0
Remix it

About Neon Snake

How to play

Play right here in your browser without an account or download. Follow the controls shown in the game, and use Play fullscreen for a larger view.

Make your own game

Neon Snake was built by facebook for with the Cinevva game creator: describe the game you want in chat, watch it get built, and play it in your browser minutes later.

Remix Neon Snake opens the real game in the creator and forks its actual files, chat and design doc, so you start from the code rather than from a description.

Read the build brief for Neon Snake

Cinevva's analyzer read this game's design doc and its source, then wrote the brief below. "Make your own" hands it to the game creator as your opening message, so you start from a real spec rather than a one-line idea.

Create a responsive 2D canvas arcade game titled “Neon Snake.” Use a centered square playfield on a nearly black (#050312) page, with a subtle cyan border, rounded corners, cyan/pink glow, and a deep purple radial-gradient background. Render a 24×24 grid over the board using very faint cyan lines. Keep the presentation clean and neon cyberpunk: cyan title text, magenta glowing food and overlay accents, lime-green player head, and cyan/blue body segments.

At launch, show a large centered modal card over the board with a translucent very-dark purple background, thin glowing magenta rounded border, and shadow. The card says “NEON SNAKE” in large uppercase magenta glowing type, followed by “Eat the glowing orbs. Every bite makes the grid move faster.” and a rounded cyan-outlined button labeled “START RUN.” Hide this card once the run starts. The surrounding HUD remains visible: at the upper left show the uppercase, widely letter-spaced cyan glowing title “NEON SNAKE”; at the upper right show three compact statistics labeled SCORE, LENGTH, and SPEED, with white values initially 0, 3, and 1x. At the bottom, show the lime hint “Arrow keys / WASD · swipe or tap controls.” Include a four-button touch D-pad near the bottom center arranged like a directional cross (up above left/down/right), with dark translucent circular/rounded buttons, cyan borders, and arrow glyphs; make it less prominent on desktop but usable on touch devices.

The gameplay is classic grid Snake. Start each run with a three-cell horizontal snake centered at grid coordinates (12,12), (11,12), (10,12), moving right. The head is a rounded lime-green square with a soft glow and two small dark eyes; body segments are rounded glowing cyan/teal squares, with later segments shifting subtly toward blue/darker cyan. Draw each cell inset from its grid cell so there is visible spacing. Spawn one glowing magenta orb at a random unoccupied grid cell. Make the orb pulse in size and glow and add a tiny white highlight.

Move the snake one grid cell per step. The initial interval is 150 ms (1x speed). Arrow keys and WASD change direction; prevent reversing directly into the current direction. Support the on-screen D-pad buttons and swipe gestures on the canvas (ignore tiny taps/swipes below the gesture threshold). On each orb eaten, increase score by 10, grow the snake by one segment, spawn a new orb in an unoccupied cell, and reduce the movement interval by 4.2 ms per added segment, clamped to a minimum of 55 ms. Display speed as 150 divided by the current interval, formatted with one decimal and an “x” suffix (so it accelerates as food is eaten). Length is the current snake array length.

The run ends immediately when the next head position hits the outer boundary of the 24×24 grid or any existing body segment. Stop movement and show the modal again with title “Run Over,” text formatted like “Score [score] · Length [length]. The grid got too fast to tame.” and a button labeled “Try Again.” The button resets score, speed, snake, direction, and food and starts a new run. Enter or Space should also restart when not running. Use smooth requestAnimationFrame rendering while grid movement remains discrete; cap frame delta so timing stays stable. Make the layout responsive, retaining the square board and fitting within the viewport, with the HUD and controls layered around it as in a polished mobile-friendly arcade game.

More free browser games

Browse the whole Arcade →