Creating a new game
|
The new game should contain no moves
|
4 |
07:14:28 |
233ms |
SUCCESS
|
Game history and statistics
|
Game statistics can be retrieved for the current player
|
11 |
07:14:30 |
239ms |
SUCCESS
|
Game history and statistics
|
Player statistics should appear in the leaderboard
|
11 |
07:14:31 |
189ms |
SUCCESS
|
Getting hints
|
We can request a hint for the current game via GET /api/game/{id}/hint
|
5 |
07:14:28 |
298ms |
SUCCESS
|
Getting hints
|
Hints should include "The word starts with the letter B"
|
6 |
07:14:32 |
147ms |
SUCCESS
|
Getting hints
|
Hints should include "The word ends with the letter D"
|
6 |
07:14:32 |
339ms |
SUCCESS
|
Getting hints
|
Hints should include "The word contains 1 vowel"
|
6 |
07:14:32 |
184ms |
SUCCESS
|
Playing the game
|
Invalid words should be rejected with a 403 error
|
4 |
07:14:29 |
296ms |
SUCCESS
|
Playing the game
|
When we make a move, the move is recorded in the game history
|
5 |
07:14:29 |
312ms |
SUCCESS
|
Playing the game
|
After the game has finished the answer can be revealed via via GET /api/game/{id}/answer
|
6 |
07:14:29 |
213ms |
SUCCESS
|
Playing the game
|
We can check the current state of the game by sending a GET to /api/game/{id}/guesses
|
5 |
07:14:30 |
165ms |
SUCCESS
|
Playing the game
|
This is an example of a complete game played via the API
|
7 |
07:14:30 |
288ms |
SUCCESS
|
Playing the game
|
We can get the current game result by sending a GET to /api/game/{id}/result
|
4 |
07:14:30 |
268ms |
SUCCESS
|
Playing the game
|
We make a move by posting a word to the with the /api/game/{id}/word end-point
|
4 |
07:14:31 |
211ms |
SUCCESS
|
Playing the game
|
If we try to ask for the answer by sending a GET to /api/game/{id}/answer
|
4 |
07:14:31 |
282ms |
SUCCESS
|
Playing the game
|
[1] word=CRYPT, guess=CRYPT, cell1=GREEN, cell2=GREEN, cell3=GREEN, cell4=GREEN, cell5=GREEN
|
6 |
07:14:32 |
096ms |
SUCCESS
|
Playing the game
|
[2] word=CRYPT, guess=BOARD, cell1=GRAY, cell2=GRAY, cell3=GRAY, cell4=YELLOW, cell5=GRAY
|
6 |
07:14:32 |
157ms |
SUCCESS
|
Playing the game
|
[3] word=CRYPT, guess=CROWN, cell1=GREEN, cell2=GREEN, cell3=GRAY, cell4=GRAY, cell5=GRAY
|
6 |
07:14:32 |
165ms |
SUCCESS
|
Playing the game
|
When the word is CRYPT and the guess is ORGAN, the row is GRAY, GREEN, GRAY, GRAY, GRAY
|
6 |
07:14:32 |
308ms |
SUCCESS
|
Playing the game
|
When the word is CRYPT and the guess is BRACE, the row is GRAY, GREEN, GRAY, YELLOW, GRAY
|
6 |
07:14:32 |
186ms |
SUCCESS
|
Playing the game
|
When the word is CRYPT and the guess is CRYPT, the row is GREEN, GREEN, GREEN, GREEN, GREEN
|
6 |
07:14:32 |
230ms |
SUCCESS
|
Registering a new user
|
Password should be stored as a hashed password
|
1 |
07:14:28 |
226ms |
SUCCESS
|
Registering a new user
|
Email must be unique
|
2 |
07:14:28 |
168ms |
SUCCESS
|
Registering a new user
|
Username must be unique
|
2 |
07:14:29 |
135ms |
SUCCESS
|
Registering a new user
|
Players need to register before they can login and play
|
1 |
07:14:29 |
263ms |
SUCCESS
|
Registering a new user
|
Logged-on players can play the game
|
3 |
07:14:29 |
247ms |
SUCCESS
|
Registering a new user
|
Password must not be empty
|
1 |
07:14:30 |
121ms |
SUCCESS
|
Registering a new user
|
Users cannot access the game without logging on
|
2 |
07:14:30 |
305ms |
SUCCESS
|
Registering a new user
|
Players can log on with their username and password
|
2 |
07:14:30 |
239ms |
SUCCESS
|
Game Rules
|
Player runs out of tries
|
3 |
07:14:17 |
196ms |
SUCCESS
|
Game Rules
|
1: Letters should be displayed with the correct color
target word=CRYPT, player input=CRYPT, cell 1=GREEN, cell 2=GREEN, cell 3=GREEN, cell 4=GREEN, cell 5=GREEN
|
3 |
07:14:18 |
028ms |
SUCCESS
|
Game Rules
|
2: Letters should be displayed with the correct color
target word=CRYPT, player input=BOARD, cell 1=GRAY, cell 2=GRAY, cell 3=GRAY, cell 4=YELLOW, cell 5=GRAY
|
3 |
07:14:18 |
011ms |
SUCCESS
|
Game Rules
|
3: Letters should be displayed with the correct color
target word=CRYPT, player input=CROWN, cell 1=GREEN, cell 2=GREEN, cell 3=GRAY, cell 4=GRAY, cell 5=GRAY
|
3 |
07:14:18 |
181ms |
SUCCESS
|
Game Rules
|
Letters that are present but not in the right place
|
3 |
07:14:18 |
012ms |
SUCCESS
|
Game Rules
|
Player guesses the right word
|
4 |
07:14:18 |
028ms |
SUCCESS
|
Game Rules
|
1: Letters that do not form valid words should be rejected
Letter 1=T, Letter 2=O, Letter 3=, Letter 4=, Letter 5=, Reason=Word too short
|
3 |
07:14:18 |
009ms |
SUCCESS
|
Game Rules
|
2: Letters that do not form valid words should be rejected
Letter 1=A, Letter 2=B, Letter 3=C, Letter 4=D, Letter 5=E, Reason=Not a word
|
3 |
07:14:18 |
038ms |
SUCCESS
|
Game Rules
|
3: Letters that do not form valid words should be rejected
Letter 1=F, Letter 2=A, Letter 3=S, Letter 4=T, Letter 5=!, Reason=Not a word
|
3 |
07:14:18 |
027ms |
SUCCESS
|
Game Rules
|
Correctly placed letters
|
3 |
07:14:18 |
007ms |
SUCCESS
|
Game Rules
|
Two incorrectly placed letters
|
3 |
07:14:18 |
015ms |
SUCCESS
|
Hints
|
If the player asks for another hint, all the hints should be shown
|
4 |
07:14:18 |
160ms |
SUCCESS
|
Hints
|
The word starts with a particular letter
|
3 |
07:14:18 |
029ms |
SUCCESS
|
Hints
|
1: Possible hints for a word
Word=APPLE, Hint Type=Starts with letter, Hint Text=The word starts with the letter A
|
3 |
07:14:18 |
012ms |
SUCCESS
|
Hints
|
2: Possible hints for a word
Word=CREEK, Hint Type=Ends with letter, Hint Text=The word ends with the letter K
|
3 |
07:14:18 |
020ms |
SUCCESS
|
Hints
|
3: Possible hints for a word
Word=GROWL, Hint Type=Single vowel, Hint Text=The word contains 1 vowel
|
3 |
07:14:18 |
008ms |
SUCCESS
|
Hints
|
4: Possible hints for a word
Word=APPLE, Hint Type=Multiple vowels, Hint Text=The word contains 2 vowels
|
3 |
07:14:18 |
004ms |
SUCCESS
|
Hints
|
5: Possible hints for a word
Word=CRYPT, Hint Type=No vowels, Hint Text=The word contains no vowels
|
3 |
07:14:18 |
005ms |
SUCCESS
|
Game Overview
|
Player runs out of tries and loses
|
3 |
07:14:17 |
210ms |
SUCCESS
|
Game Overview
|
Player guesses the right word and wins
|
4 |
07:14:18 |
221ms |
SUCCESS
|