use GameState to test win/lose/alive
refine document