Skip to content

mrcasals/town_simulator

Repository files navigation

Town simulator

Demo

A small town simulator. These are its features:

  • Citizens get older
  • Citizens get random genders
  • Citizens eat
  • Citizens get random names
  • Citizens die at a certain given age (65 years old)
  • Citizens form families
  • Citizens make babies
  • Citizens generate food
  • Citizens start with random food
  • Citizens die at random ages, most probably when babies or when very old
  • Citizens get jobs that might increase their chances to die (hunters, for example)
  • Citizens build improvements in the land to make their life easier

Later on, I'll need to make this data visually easier, so I might need to integrate this project with a game engine or something.

Instructions

npm install
npm start

Visit http://localhost:8080 and watch it run! If you want to deploy your own version of the code:

  1. fork the repo
  2. modify the config/CNAME file
  3. run npm install
  4. run npm deploy

About

Small town simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published