A game simulation engine