The challenge will require you to play a game against a computer that is keeping a secret random string hidden from you. Each time you correctly guess a complete string, you will advance to the next level, and the computer will make the new secret longer and more tricky to guess.

In order to help you narrow down the hidden string, you will be given a hint based on your last guess. The hint you will receive will tell you how many characters you guessed correctly in the last attempt. For example, if the computer is hiding the secret "juoaps" and you provide the guess "uokaps", the hint will show that you got 3 letters correct, since the letters 'aps' appear in the same location of both strings.

The game is played through a simple interface over http. The responses will be in JSON. You are limited to 5000 guesses per game. Each of your requests should be used wisely in an effort to gain as much information as possible from the hint. You may only use the characters a-z to make your guesses. These are the only characters which will appear in the secret string. The final score will reflect how many characters you were ultimately able to get correct on your best guess, including the characters on levels you were able to beat.

There is a simple human powered webclient if you follow this link

To play the game, start a new one by performing a POST to https://jswidler.co/challenge. All subsequent requests for the game should be a POST to https://jswidler.co/challenge/guess. In each response, you will receive a token in addition to some information about the game. The token is one time use and thus ensures your solution should be single threaded. All your requests to the guess url should include your most recent token along with your guess.

When starting a new game, you must provide a solverName, which will appear on the high list along with the best score from all your attempts. You will also get a challengeId when starting a new game. This ID is only for reference purposes, it cannot be used to play the game. You can view the results of any game by going to https://jswidler.co/challenge/{challengeId}.

You can view the top scores for each solver at challenge/topscores