Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude/agents/flood-crew.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ You are the specialist for **Flood Crew**, a game on Arjun's site (ascoding11.gi

## What it is

Flood Crew (Back Room; first built as Ebbwork, and the folder, the `ebbwork:v1` save key and the names in the code keep that name), a single-player first-person flood-drainage game: each job is a flooded place, and you work out why it flooded and get it dry (three.js r187 from the site's own build with its r128 layer, then `../autores.js`; no Firebase, no rooms, no stats.js, no ads). It is our own design: the name, the six places, the tools, the prices and the text are ours. **Files:** `index.html` (the page and its styles), `game.js` (drawing, controls, sound, HUD and menus), `core.js` (everything that is not drawing, with no DOM and no three.js in it, so `node` can load it: `require('./core.js')` gives `{EWSim, EW, EWMaps}`), `es.js` (its Spanish for `../lang.js`) and `preview.jpg`.
Flood Crew (Back Room; first built as Ebbwork, and the folder, the `ebbwork:v1` save key and the names in the code keep that name), a single-player first-person flood-drainage game: each job is a flooded place, and you work out why it flooded and get it dry (three.js r187 from the site's own build with its r128 layer, then `../autores.js`; no Firebase, no rooms, no stats.js, no ads). It is our own design: the name, the six places, the tools, the prices and the text are ours.

## Where it lives

- Folder: `e63334287a3deaa3/ebbwork/`: `core.js`, `es.js`, `game.js`, `index.html`, `preview.jpg`
- Folder: `e63334287a3deaa3/ebbwork/`: `core.js`, `es.js`, `game.js`, `index.html`, `models.js`, `preview.jpg`
- Docs: the bullet for `e63334287a3deaa3/ebbwork/` in `README.md` (and the indented points under it). This is the source of truth for how the game works and stores data; read it in full before changing anything, and update it when you change behaviour, storage or file layout.
- Phone page: a row in `GROUPS` in `e63334287a3deaa3/m/index.html` and thumbnail `e63334287a3deaa3/m/thumbs/ebbwork.jpg`.

Expand Down
2 changes: 1 addition & 1 deletion README.md

Large diffs are not rendered by default.

74 changes: 39 additions & 35 deletions e63334287a3deaa3/ebbwork/core.js

Large diffs are not rendered by default.

275 changes: 205 additions & 70 deletions e63334287a3deaa3/ebbwork/es.js

Large diffs are not rendered by default.

591 changes: 252 additions & 339 deletions e63334287a3deaa3/ebbwork/game.js

Large diffs are not rendered by default.

270 changes: 127 additions & 143 deletions e63334287a3deaa3/ebbwork/index.html

Large diffs are not rendered by default.

245 changes: 245 additions & 0 deletions e63334287a3deaa3/ebbwork/models.js

Large diffs are not rendered by default.

Binary file modified e63334287a3deaa3/ebbwork/preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion e63334287a3deaa3/es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e63334287a3deaa3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ <h3>Leaf Sweep</h3>
<div class="actions">
<a class="btn primary" href="/e63334287a3deaa3/windrow/">▶ Play</a>
<a class="shot" href="/e63334287a3deaa3/ebbwork/" aria-label="Open Flood Crew" tabindex="-1">
<img src="/e63334287a3deaa3/ebbwork/preview.jpg" alt="Flood Crew in play, seen through the player's eyes in a flooded back yard: shallow brown water lies over grey paving and the edge of a lawn, with the brick house and its windows mirrored in it. A drain grate shows through the water with leaves and litter drifting near it, a split pipe sprays from the house wall, and a rake is held out in gloved hands. A gauge top left reads 82% water left, with a clock, scan, journal and pause buttons top right and the rake, bucket and wrench on the tool bar." width="1920" height="1200" loading="lazy">
<img src="/e63334287a3deaa3/ebbwork/preview.jpg" alt="Flood Crew in play, seen through the player's eyes in a flooded back yard in low evening sun: brown flood water lies over the paving with the brick house, its windows and the sky mirrored in it, and a pale line where the water meets the ground. A copper pipe runs along the house wall, autumn trees and a wooden fence stand behind, and a rake is held out in gloved hands. A single bar at the top reads 85% water left, and one line at the bottom says Find the drain under the leaves." width="1920" height="1200" loading="lazy">
<span class="gc-genre"><b style="margin:0 6px 0 -4px;padding:1px 6px;border-radius:999px;background:#2f8f9a;color:#fff;font-weight:700">New</b>Flood sim</span>
</a>
<div class="body">
Expand Down
Binary file modified e63334287a3deaa3/m/thumbs/ebbwork.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion e63334287a3deaa3/news.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
'Pretty setting only: drifting clouds and a glow round the sun, water that ripples and sparkles in the sun, a little richer colour, and a glowing line where the storm meets the ground.',
'Pretty setting only: beams of light over Rare, Epic and Legendary weapons on the floor, a column of colour where a player is knocked out, a ring of sparks when your shots land and a puff of dust when you build.']},
{date: '2026-11-26', version: '1.62', title: 'New game: Flood Crew', kind: 'game',
games: ['Flood Crew'], img: 'm/thumbs/ebbwork.jpg', tags: ['Flood Crew', 'Flood sim'], items: [
games: ['Flood Crew:ebbwork'], img: 'm/thumbs/ebbwork.jpg', tags: ['Flood Crew', 'Flood sim'], items: [
'Flood Crew is in Arcade: a first-person game about getting flooded places dry.',
'Work out why each place flooded: a buried drain, a leak, a broken bank, or ground with nowhere to run to.',
'The water really flows. Rake a drain clear, dig a trench, lay sandbags or set up a pump, and watch where it goes.',
Expand Down
22 changes: 22 additions & 0 deletions e63334287a3deaa3/news/ngcoding10-flood-fix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"kind": "feature",
"title": "Flood Crew, rebuilt",
"tags": ["Flood Crew"],
"img": "m/thumbs/ebbwork.jpg",
"items": [
"Flood Crew starts in the flooded yard now, rake in hand, with one short instruction at a time. The depot and the gear shop turn up later.",
"It looks new: proper houses with roofs and windows, fences, trees, evening light with shadows, and water that mirrors what is around it, on phones too.",
"Raking splashes, a cleared drain gulps and pulls a whirlpool, and the ground comes up clean as the water drops.",
"Much less on screen: one water bar, your tool, and one line of words.",
"The two longest jobs are a good deal shorter, and raked leaves stay put for a while before they can float back."
],
"es": {
"Flood Crew, rebuilt": "Flood Crew, rehecho",
"Flood Crew": "Flood Crew",
"Flood Crew starts in the flooded yard now, rake in hand, with one short instruction at a time. The depot and the gear shop turn up later.": "Flood Crew ahora empieza en el patio inundado, con el rastrillo en la mano y una instrucción corta por vez. El depósito y la tienda de equipo aparecen más adelante.",
"It looks new: proper houses with roofs and windows, fences, trees, evening light with shadows, and water that mirrors what is around it, on phones too.": "Se ve nuevo: casas de verdad con techos y ventanas, cercas, árboles, luz de atardecer con sombras y agua que refleja lo que la rodea, también en el celular.",
"Raking splashes, a cleared drain gulps and pulls a whirlpool, and the ground comes up clean as the water drops.": "Al rastrillar salpica, un desagüe destapado traga y forma un remolino, y el suelo aparece limpio a medida que baja el agua.",
"Much less on screen: one water bar, your tool, and one line of words.": "Mucho menos en pantalla: una barra de agua, tu herramienta y una línea de texto.",
"The two longest jobs are a good deal shorter, and raked leaves stay put for a while before they can float back.": "Los dos trabajos más largos son bastante más cortos, y las hojas rastrilladas se quedan quietas un rato antes de poder volver flotando."
}
}
Loading