added console logging for game state