Controlling Artificial Lives is a text-based simulation game made in JavaScript.


The game pretty much plays itself, but you can make people appear every 30 seconds by pressing the "Make a person" button! You can also designate tasks:

  • Gathering food (to get more food, so the people don't die)
  • Building farms (the amount of farms decides how much food can be gathered per year)
  • Searching for building supplies (for building farms & houses)
  • Building houses (for people to live in)

All of these are done automatically by a very simple AI, so you don't really have to do any of this. But you can, if you want!


You can find the source code for this project on GitHub. (Note: I don't recommend learning anything from the code of this project, and you might have nightmares when you see some of it. This is probably the worst game I've ever written from a code-quality standpoint.)


The code in this repository is licensed under the GNU GPL 3.0 license. See the LICENSE.txt file for more details.

For a quick reference as to what this means, see the TLDRLegal page about GNU GPL 3.0 - Note: this is not legal advice and so on, as the site itself says.

Leave a comment

Log in with your account to leave a comment.