Need-based AI demo

(scroll down for explanation; click here for the related article)

LOG
Act

Let a being perform a turn

Eat

Let a being eat stuff

Damage

Let a being take damage

Explanation

This page demonstrates some patterns related to need-based AI. There are four beings in the game; two of them are brainless, two of them use the need-based AI. Click a being's name to have it perform a certain action.

Every turn, the amount of hunger increases by 1. When it reaches 6, being dies of starvation.