Rename engine to cubi

This commit is contained in:
2026-11-03 17:17:37 -03:00
parent 68b78f053a
commit 98fa45ebd1
109 changed files with 643 additions and 788 deletions
+3 -3
View File
@@ -107,7 +107,7 @@ Deno.test("taking the source away drains what flowed from it", async () => {
ticks(game, 60);
assertEquals(level(game, 5, Y, 0), 5);
game.set_block(0, Y, 0, "bworld:air");
game.set_block(0, Y, 0, "cubi:air");
ticks(game, 200);
for (let x = -8; x <= 8; x++) {
for (let z = -8; z <= 8; z++) assertEquals(level(game, x, Y, z), undefined, `at ${x}, ${z}`);
@@ -130,8 +130,8 @@ Deno.test("two sources beside a spot on solid ground make it a source, like infi
assertEquals(level(game, 0, Y, 0), 0);
// and stays one with the others gone
game.set_block(-1, Y, 0, "bworld:air");
game.set_block(1, Y, 0, "bworld:air");
game.set_block(-1, Y, 0, "cubi:air");
game.set_block(1, Y, 0, "cubi:air");
ticks(game, 20);
assertEquals(level(game, 0, Y, 0), 0);
});