gameState fixes

fixed and added print function