The TwentyQuestions Service aids in the creation of a multiplayer game of twenty questions.
- TwentyQuestions.answer(answer: String)
Answer a yes or no question about the secret word or phrase.
answer: String(String) - yes or no response to previous question
Check if the game has been started.
trueif the game has started
- TwentyQuestions.guess(guess: String)
Guess the word or phrase.
guess: String(String) - word or phrase to guess
trueif the guess was correct, otherwise
Restart the game.