[Stardust Colonies (Alien Farm)]

Date: May 2009
Tags: games :: C++ :: AI

Stardust Colonies

Stardust Colonies, formerly known as Alien Farm, is a strategy game that I created based on my Undergraduate dissertation 'Inner States in Game Agent Systems'. In the game, the player-controlled units are aware of and affected by both their own memory and preferences and their colony's well-being.

Download Alien Farm Windows-compatible installation file
A medium-sized alien colonyAlien units in the game are able to collect resources and breed. To move, they use an obstacle avoidance algorithm for continuous environments that was based on Bourg's and Seeman's work. The units have an inner state which consists of happiness and activity - two variables which are adjusted for each alien based on what it did previously and whether it liked it or not, as well on how well the entire colony does in terms of the amount of stored food and living space. The objective of the game is to expand the colony to have 30 members and achieve an average happiness of at least 70%.

Behaviour adjustment

Alien with activity and happiness levels shownIn Stardust Colonies, each unit is an individual and its behaviour and work performance are affected by its happiness.

Frustrated aliens perform tasks slowly and sometimes disobey the player's orders, but doing their preferred job makes them very efficient. Furthermore, movement of an alien is slowed down if it is tired of frequent travelling of because of its age. Player therefore has to keep a constant eye on all colony members and make sure they stay happy and active. Fuzzy logic is used both for evaluation of a unit's current inner state as well as to adjust its behaviour.


The game was tested by a number of players who found the individualised behaviour interesting and harder to predict. The Kickstarter and Steam campaigns generated some attention, although the marketing and development had to be paused indefinitely due to my other engagements.

Alien Farm in its original state was generally a great success amongst students and academic staff and was presented on the University's open day in May 2009.
Constructing a colony

{Please enable JavaScript in order to post comments}


Robot swarms in action

Watch e-puck robots collect resources and bring them back to base. While the previous simulation work helped us to learn a lot about the...

[read full]

How to compile code for e-puck robots on your computer

Compiling code natively on e-puck robots or cross-compiling on your computer can be very tedious. Luckily, there is a third option:...

[read full]

Coding for tomorrow: Why is good code important?

"Why should I care about how my code is written, as long as it works?" I will argue here that well-structured and well-written code not...

[read full]

How Coding in Python Might Be Bad For You

7 reasons why coding in Python is like writing a really bad essay and getting away with it

[read full]