feat: 5x5 entity (27 bodies), terminal viewport up to 250x120

- Entity: 5x5 grid body + 2-cell arm = 27 sub-bodies, radius 0.5
- Terminal: default 200x60, max 250x120 (was 250x80)
- 31 constraints (full grid + arm)
- Spawn height adjusted for 5-tall body
This commit is contained in:
Emil
2026-06-20 21:43:50 +03:00
parent 595edc3006
commit a731d5cbb7
4 changed files with 155 additions and 148 deletions
+3 -3
View File
@@ -31,9 +31,9 @@ impl TerminalRenderer {
}
fn detect_size(&mut self) -> io::Result<()> {
let (w, h) = term_size().unwrap_or((120, 40));
self.width = (w as usize).min(250).max(60);
self.height = (h as usize).min(80).max(20);
let (w, h) = term_size().unwrap_or((200, 60));
self.width = (w as usize).min(250).max(80);
self.height = (h as usize).min(120).max(25);
Ok(())
}