- URL
- Execute "Load Question" command with above data.
- System downloads data from the URL.
- System validates downloaded data.
- System creates question from valid data.
- System delivers question and correct answers.
- System delivers invalid data error.
- System delivers connectivity error.
- Execute "Start" command.
- System starts the counter.
- System enables the user to insert guesses.
- String
- Execute "Add guess" command with the above data.
- System validates the user guess
- System saves the user guess.
- Execute "Validate user guesses" command with the above data.
- System verify the user guesses.
- System informs if the game is finished.
GET *url*
200 RESPONSE
{
"question": "What are all the java keywords?",
"answer": [
"abstract",
"assert",
"boolean",
"break",
"byte",
"case",
"catch",
"char",
"class",
"const",
"continue",
"default",
"do",
"double",
"else",
"enum",
"extends",
"final",
"finally",
"float",
"for",
"goto",
"if",
"implements",
"import",
"instanceof",
"int",
"interface",
"long",
"native",
"new",
"package",
"private",
"protected",
"public",
"return",
"short",
"static",
"strictfp",
"super",
"switch",
"synchronized",
"this",
"throw",
"throws",
"transient",
"try",
"void",
"volatile",
"while"
]
}