Skip to content
cyberbenj edited this page Jan 4, 2021 · 4 revisions

About

In jsLife, there are two kind of entities :

  • Vegetables (green)
  • Animals
    • Herbivorous (blue) (eats vegetables)
    • Carnivorous (red) (eats herbivorous)

Your goal is to define the properties of each entity in order to find a balance so that Life lasts as long as possible.

How it works

An entity is alive until it reaches its lifetime.

When animal is hungry, it loses health so it needs to find food or else it dies.

When entity is full health and reach seeding/breeding cycle : it spreads.

Note : vegetables can't seed if there is no animal.

Randomness

You can choose between two modes :

  • Random box checked
    • Everything is random (positions, moves, quantities, durations)
  • Random box unchecked
    • Positions and moves are based on a random seed
    • Other properties are based on settings
Clone this wiki locally