Skip to content

A simulation of an environment where different creatures interact with the surroundings and each other

Notifications You must be signed in to change notification settings

EMPAT94/creatures

Repository files navigation


Creatures

Gamified simulation of an environment with different creatures and their surroundings. Make it sustainable to win!


Intro

When you load up the page, you are greeted with a bunch of input boxes (along with some exposition).

The values you enter in these inputs determine the initial state of the simulation.

The simulation consists of an environment, your aim is to make is sustainable. If it survives for 20,000 years, you win!

Check it out at : priteshtupe.com/creatures

Environment

  1. Environment is made up of specific Plants (Moss - green, Musk - olive) and Creatures (Wolves - red, Sheep - blue).

  2. Wolves feed on Sheep, Sheep feed on Plants, Plants grows on Creatures' droppings.

  3. Musk grows only where there is a high density of droppings.

  4. Upon reaching a certain Size, Creatures reproduce.

  5. All Creatures and Plants evolve.

  6. Creatures will die if not fed for certain amount of time.

  7. Creatures/Plants will die when they get old.

Running locally

# Clone the repo

# cd into dir

# Assuming python 3
python -m http.server

Running in docker

docker build -t creatures-site .

docker run -p 8000:80 creatures-site

About

A simulation of an environment where different creatures interact with the surroundings and each other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published