init() now assigns appropriate values to the fields in gameState