added gameState(), gameEnd() in Host main