LetterGuess
Friday, July 18th, 2008 | Programs
For more including Author's Notes download the eBook pages with this program's code listing.
One of the simplest games is represented here. It’s a game that’s so simple it hardly needs an introduction. A letter is picked and with every guess you are given clues as to whether the hidden letter is higher or lower than your guess. For this sort of game the best strategy can be called “divide and conquer.” By choosing points as close to the middle of where the letter could possibly be to win in the least number of guesses. If it takes you 7 guesses you’re taking too long.
Letter Guess is inspired by the BASIC Game ‘Letter’ written by Bob Albrecht as found in ‘BASIC Computer Games’ edited by David H Ahl © 1978.
No comments yet.
Leave a comment
Subscribe
Support Cymon's Games
Recent Comments
- Bill on Numbrix
- Joe on Should I do tutorials?
- Alan Monroe on Should I do tutorials?
- Alan Monroe on Should I do tutorials?
- Peter on StarTrek
- Joe on Others Teaching Programming
- Devin Watson on Others Teaching Programming
- Joe on Programming Math















