https://github.com/drlove2002/simciv
Terminal-based civilization simulation built with Rust and ratatui
https://github.com/drlove2002/simciv
ratatui rust simulation terminal-game tui
Last synced: about 14 hours ago
JSON representation
Terminal-based civilization simulation built with Rust and ratatui
- Host: GitHub
- URL: https://github.com/drlove2002/simciv
- Owner: drlove2002
- License: mit
- Created: 2026-05-23T19:41:05.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-23T19:52:37.000Z (about 1 month ago)
- Last Synced: 2026-05-23T21:23:44.547Z (about 1 month ago)
- Topics: ratatui, rust, simulation, terminal-game, tui
- Language: Rust
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimCiv
Terminal-based civilization simulation built with Rust and ratatui. You manage food and population tick by tick.
This is highly under development and a hobby project.
## Controls
| Key | Action |
|-----|--------|
| `q` | Quit |
| `f` | Add 100 food |
| `p` | Toggle pause |
| `t` | Open time menu (speed control) |
| `←` | Slow down (in time menu) |
| `→` | Speed up (in time menu) |
## Mechanics
- Each citizen consumes 1 food per second.
- If food exceeds 200, population grows by 1 per second.
- Food can't drop below 0.
## Build
```sh
cargo run
```
## License
MIT