This will be a Jotto game for one player. See the Wikipedia article for details on the rules.
A typical interaction might look like this:
I'm thinking of a five-letter word. Guess what it is.
Guess 1 of 10: think
1 jot.
Guess 2 of 10: burnt
2 jots.