package game import ( "fmt" ) func (gm *Game) ContinueGame() { state, phase := gm.GetState() if state != STATE_PLAY { fmt.Printf("invalid state, can't continue game in %s state\n", state) return } switch phase { case PHASE_SELECT_QUOTE: gm.revealShowCount() case PHASE_REVEAL_SHOW_COUNT: gm.revealSource() default: fmt.Printf("invalid state, can't continue game in %s state, %s phase\n", state, phase) return } }