No description
- Rust 92.7%
- Nix 7.3%
| .github/workflows | ||
| world_gen | ||
| world_viewer | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Map Generation (placeholder name)
I wanted to make a simple game where NPCs are played by LLMs. Then I needed a map to put NPCs in. Then I needed a procedural map, biomes, procedural cities, procedural NPCs, procedural quests, procedural everything.
Structure
-
world_viewerlets you generate and explore a world in a TUIStart with
cargo run -r -p world_viewerKeys:
- arrow keys to move
- enter/backspace to zoom in/out
- ctrl will speed up movement
Chunks are generated as the player moves
-
world_genis the world generation crate It also provides a binary that generates images for different parameters of the biome generation as well as the biome map.In order:
- Biome map
- Temperature
- Moisture
- Continentalness
- Erosion
Start with
cargo run -r -p world_gen -
game_coreis the core logic, provides theMaptype. -
llm_backendis the bridge to LLM APIs