Backlog: merge related tasks into four and rewrite them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 19:28:00 -04:00
co-authored by Claude Opus 5.5
parent 8d12b67c08
commit 68c021f64b
8 changed files with 85 additions and 11 deletions
+21
View File
@@ -0,0 +1,21 @@
---
id: t21
status: Backlog
order: 3
priority: P3
created: 2026-10-24
updated: 2026-10-24T23:26:09Z
title: Code health: refactor, speed up and test the physics
---
## Context
- The code has grown fast. Clean it up and make it faster without changing how the game plays, and give the physics a full test pass, starting with water: water running off the edge of the world never seems to run out (it may only be slow; find out, and fix it if it really doesn't). (Merged from t24 water fixes.)
## Subtasks
- [ ] Remove duplicated code and split the largest modules into smaller files
- [ ] Profile the simulation and rendering on a Huge world and speed up the slowest parts
- [ ] A full test pass over water physics in every situation (pools, flows, falls off the world edge, pumps and pipes, freezing and boiling); fix what is wrong
- [ ] The same kind of pass over sand, molten metal and gases where tests are thin
- [ ] Fix issues found along the way, and test every piece of gameplay the changes touch