---
title: AUVY Snake
canonical_url: https://snake.auvy.ai/
---

# AUVY Snake

> A snake that plays itself. You put the fruit down, and TypeSafe Jev picks the heading on every tick.

The board is a 12×12 Snake game. TypeSafe Jev is the only driver. Each tick the server asks one Choice: which legal heading the head should take. Code still blocks a reverse into the neck and a walk into a wall. You place and remove fruit. There is always at least one fruit; taking the last one plants another on a free cell.

Leave the tab and the game pauses, so Jev is not called in the background. Death stops ticks.

## Play

- [Play AUVY Snake](https://snake.auvy.ai/): live board, Pause, Reset, and fruit placement
- [AUVY waitlist](https://os.auvy.ai/early-access): early access to AUVY OS
- [AUVY](https://auvy.ai)
- [TypeSafe System One](https://typesafe.ai)

## API

Same-origin JSON. The TypeSafe key stays on the server.

- `GET /api/health` — `{ ok: true }`
- `POST /api/reset` — new board
- `POST /api/fruit` — body `{ state, x, y }` toggles fruit at that cell
- `POST /api/tick` — body `{ state, visible }`; `visible` must be `true` or the tick pauses
- [OpenAPI](https://snake.auvy.ai/openapi.json)

## Sitemap

- [Markdown sitemap](https://snake.auvy.ai/sitemap.md)
- [XML sitemap](https://snake.auvy.ai/sitemap.xml)
- [llms.txt](https://snake.auvy.ai/llms.txt)
