Waterlogging

This commit is contained in:
2026-10-07 20:56:24 -03:00
parent 78117f65c9
commit 757ee74bc7
26 changed files with 459 additions and 73 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import { assert, assertAlmostEquals, assertEquals } from "@std/assert";
import { type Body, liquid_flow, type LiquidInCell, push_by_liquid } from "$/common/physics.ts";
const WATER = 1;
const WATER = "a:water";
// cells by "x,y,z", and solid blocks
function world(liquids: Record<string, number>, solid: string[] = []) {