Dear Gamer, this is Y.A.N.G, the yet another number game! Your task is to crack a five digit code, digits 0-9, all unique. Valid examples: 01234, 75609, 90437, etc. Not valid examples: 11345 (1 is repeated), 123456 (6 digits), 1234 (4 digits) Yang creates a new secret code each day at midnight. A gamer name is required! You have 6 tries to crack the code. Not enforced by server, there is an enforce6 flag thought. There is an practise mode to play a new game at any time. There is an echo api endpoint to test your requests This is the API: GET-Requests: /help -> produces this text. (output-format: text) /ping -> shows server and data base vitals (output-format: json) /api/my-current-game -> returns data from last unfinished game (output-format: json) POST-Requests: 0. /api/echo -> returns the request authorization header and the body - for testing purposes 1. /api/daily-game -> play the daily game, a correct authorization header and body required. 2. /api/practice-game -> play a practice game, a correct authorization header and body required. Details for 1. and 2. header: Authorization: start a new game: body: { "gameid": "new", (magic string to start a new game) "try": "12345", (the first try to crack the code) "enforce6": true (optional, if true the backend will only accept 6 tries for this gameid ) } continue the game: header: Authorization: body: { "gameid": "01G4KYESPM1S4EXB5X9GZ2MVMWM9AG", (the id returned from first request) "try": "34567", (the next try to crack the code) } returned data example: { "gameid": "01G4KYESPM1S4EXB5X9GZ2MVMWM9AG", "hit": false, (true, if game was won) "response": "y-gg-", (green: position 3 and 4 are correct, yellow: digit is at wrong position) "sequence": 3, (your third try) "time": "2022-06-04T16:48:39.99019074+02:00", "try": "74238", "type": "practice" (a practice game, not the "official" daily game) } see more details in project description Have fun!