WhatTheFn
How to play
- Read the examples, then write the function that gives those results.
- You have 6 attempts. Each runs against every check, including ones you cannot see, and tells you how close it came. Code that cannot run (a syntax error, an error thrown, no return) is not an attempt.
- Every miss shows you one more hidden check, and a new hint while they last. A few secret checks are never shown, so copying the checks into your code will not pass.
- You can ask the hidden function 3 questions of your own, and 3 more after each miss.
Games never reach your record or employers. The tracks are the same kind of work at a bigger scale.