Their first task was easy
Their first task was easy. Can the digital organisms I wrote, called “figures,” learn to call a good command and avoid a bad one?
My first job was easy. It only took 6 lines of code. Each digital creature, each “figure,” has a certain amount of energy.
Figure.energy = 12,168;
Each time a figure has a turn, (when they execute one command,) the energy level drops.
Energy=energy-1;
When a figure is out of energy, it dies. It is completely deleted from the system, leaving behind it’s children, if it had any.
If (figure.energy