Skip to content

Clemix37/wildlife-genesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wildlife Genesis

A TypeScript app simulating an ecosystem 🥀🪴

Concept

Trying to reproduce a little ecosystem in TypeScript.
Animals can eat plants, can reproduce, but also have a probability of dying.
If an animal has not eaten in 5 days, he dies.
Plants can grow, reproduce and might die.
Some plants ar not eatable by animals, such as trees.

Plants have a small percentage of becoming venenous. (TODO)

Animals 🦄 start by having a chance of ~0.2% to be killed, ~60% to eat a life, ~39% to reproduce itself.

Plants 🪴 start by having a chance of ~4% to be killed, ~74% to grow, ~22% to reproduce itself.