子手游戏 带有单元,小部件和集成测试的Hangman Flutter应用程序。 HangmanGame类 处理游戏逻辑 // pass in the secret word var game = HangmanGame ( 'banana' ); bool wasAbleToMakeGuess = game. guess ( 'b' ); print (game.blanksWithCorrectGuesses) // b----- print (game.status) //returns win, lose, or play HangmanG