Text this: Learning logic, search and cracking through a number guessing game