(scroll down for explanation; click here for the related article)
Let a being perform a turn
Let a being eat stuff
Let a being take damage
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.