Update game.php

The separate functions were pretty redundant.