add a simple algorithm to this game