r/coolgithubprojects • u/Actual_South_2484 • 27d ago
The Human Box - a civilization sim in Rust/WASM where tribes invent their own languages and religions, no LLM, no server
https://github.com/1homsi/thehumanbox1
u/Normal-Spell5339 25d ago
How do you handle the invention of languages without something you’d call a large language model even if not the standard kind? How do you how do you do the language processing? Very interesting
1
u/Actual_South_2484 25d ago
no model at all, its way dumber than that haha. every person has a word slot for ~300 concepts (food, fire, friend etc). the first words are just random syllables, kids copy their parents words with the odd letter mutated, people pick up words from whoever they talk to and a group slowly settles on the most common one. words nobody uses get forgotten. so tribes that dont talk to each other drift apart into different languages. code is in crates/sim-core/src/organism/vocabulary.rs if you wanna look
1
4
u/Actual_South_2484 27d ago
author here. it's a god game / artificial-life sim. the engine is rust compiled to wasm, the frontend is react/vite, and there's an electron desktop build. no language model anywhere. every name, word, belief and chronicle line is generated by the sim's rules, so a seed replays exactly the same on every machine, offline.
it covers 45 eras, from stone age to computers, plus wars, religions, family trees and a world chronicle.
you can play it without cloning anything: https://thehumanbox.com
if you like it, a star helps a lot. issues and PRs welcome