SvitsGames

Cook Line

A one-stroke kitchen puzzle. Draw across the board to pick up everything an order asks for, before the shift clock runs out.

Updated puzzle / time-management / HTML5

Screenshot from Cook Line

Cook Line is a kitchen-rush puzzle game that runs in any browser. Orders arrive with a list of ingredients, and you fill one by drawing a single stroke across a 6×6 board of food tiles that picks up everything it asks for — no lifting your finger. Shifts last 90 seconds, and the pressure is in reading the board and committing to a route before the clock catches you out.

What you do

Click and drag across the board, or drag with a finger, and lift to serve. Strokes connect in all eight directions, diagonals included.

Three rules give it its shape:

  • An order fills only when one stroke holds all of it. Orders never sit half-done, and a single stroke that covers several orders clears them together for a combo.
  • Tiles you cross but don’t need stay on the board. The board is random, and destroying tiles on a layout you didn’t choose would read as unfair.
  • A stroke can waste at most one tile and still pay. Precision is the skill: with unlimited detours a random swipe paid out 49% of the time, and at a budget of one it pays 16%.

Combos fill a fever meter, and a full meter starts Rush Hour — 30 seconds of doubled coins. Coins unlock kitchens: a burger joint, a sushi bar and a bakery, each with its own art and music. There is also a spin wheel with a free spin every day, and achievements to work through.

How it’s built

Phaser 4.1.0, TypeScript and Vite. The 1.0.0 release build is 417 kB gzipped, Phaser included. The canvas is fluid — no fixed base resolution, no letterboxing — so it fits whatever size the browser happens to be, from a portrait phone to a 21:9 monitor, and re-fits when a phone rotates mid-shift.

The devlog has the working notes, mostly on Phaser 4, TypeScript and Vite: why the canvas stayed stuck in the old orientation, and a crash that only ever hit the second shift.