> ./game.out powers_of_two.txt Let's play a guessing game! The secret is a number with 5 digits. your guess: 12345 +-----------------------------+ | ***** ..... | | * * . . | | 1 * 2 * . 3 . 4 5 | | * * . . | | ***** ..... | +-----------------------------+ your guess: 67890 +-----------------------------+ |..... ..... ..... | |. . . . . . | |. 6 . . 7 . . 8 . 9 0 | |. . . . . . | |..... ..... ..... | +-----------------------------+ your guess: 82376 +-----------------------------+ |..... ***** ..... ..... .....| |. . * * . . . . . .| |. 8 . * 2 * . 3 . . 7 . . 6 .| |. . * * . . . . . .| |..... ***** ..... ..... .....| +-----------------------------+ your guess: 32768 +-----------------------------+ |***** ***** ***** ***** *****| |* * * * * * * * * *| |* 3 * * 2 * * 7 * * 6 * * 8 *| |* * * * * * * * * *| |***** ***** ***** ***** *****| +-----------------------------+ CONGRATULATIONS! You solved the puzzle after making 4 guesses! > ./game.out powers_of_two.txt Let's play a guessing game! The secret is a number with 2 digits. your guess: 16 +-----------+ | | | | | 1 6 | | | | | +-----------+ your guess: 32 +-----------+ |***** *****| |* * * *| |* 3 * * 2 *| |* * * *| |***** *****| +-----------+ CONGRATULATIONS! You solved the puzzle after making 2 guesses! > ./game.out powers_of_two.txt Let's play a guessing game! The secret is a number with 4 digits. your guess: 1234 +-----------------------+ | .....| | . .| | 1 2 3 . 4 .| | . .| | .....| +-----------------------+ your guess: 4567 +-----------------------+ |***** ..... | |* * . . | |* 4 * 5 . 6 . 7 | |* * . . | |***** ..... | +-----------------------+ your guess: 4096 +-----------------------+ |***** ***** ***** *****| |* * * * * * * *| |* 4 * * 0 * * 9 * * 6 *| |* * * * * * * *| |***** ***** ***** *****| +-----------------------+ CONGRATULATIONS! You solved the puzzle after making 3 guesses!