fixed segfault by appropriately recursing; didn't actually rename game.c to main.c, but copied initialization code to main.c to allow for setting up const values