Hi-Low Game with a twist
|
12-20-2023, 04:31 AM
(This post was last modified: 12-21-2023 02:10 PM by Namir.)
Post: #1
|
|||
|
|||
Hi-Low Game with a twist
This is a version of the Hi-Low guessing game that has the following features:
1. You guess a secret number between 1 and 1000. 2. You have up to ten guesses to get it right! 3. You select the level of reliability for the LO/HI hints that guide your next guess. A value of 100 (percent) makes the program always tell the truth about the Hi?LO hints. A value of 0 (percent) makes the program always lie about the Hi?LO hints. A value of 50 (percent) makes the program tell the turh an expected 50% of the time about the Hi?LO hints. I sugges values like 95 or 90. You can download the .raw file by clicking here. To play the game: 1. Load the program. 2. Turn on the User mode. 3. Press the [A] key. The program display "SEED?" 4. Enter a seed value (>0 and <1) and press [R/S]. 5. The program displays "%RELY". 6. Enter the reliability level for the hints in percent. Press [R/S]. 7. The program display "GUESS?". 8. Enter a guess value and press [R/S]. 9. If you did not guess the secret number, the program displays HI or LO hints to guide your next guess (and may lie to you). Press the [R/S] key. 10. Go to step 7. 11. If you guess the secret numbers within 10 attempts, the program displays "SUCCESS". Press [R/S] and the program displays the number of iterations that lead you to the correct answer. 12. If you failed to guess the secret numbers within 10 attempts, the program displays "SN IS " followed by the secret numer. 13. You can play again by either going back to step 3, or simply by pressing key [B] (to skip the prompts for the seed and % reliability) and go to step 7. Code: 01 LBL "HILO" |
|||
12-21-2023, 04:14 AM
Post: #2
|
|||
|
|||
RE: Hi-Low Game with a twist
Sounds like the "Jive Turkey" approach to the game. :-)
|
|||
12-21-2023, 05:24 AM
Post: #3
|
|||
|
|||
RE: Hi-Low Game with a twist
.
Hi, As he frequently does (despite my usual advice), Namir does not include a sample run, which would seem necessary to ascertain that the program is correctly loaded and runs as intended. He also doesn't explain how does the % Reliability parameter affect the game:
- Does a 0% mean that the program always lies (which would be tantamount to it never lying, you'd just consider the opposite of what it says) ? - Does a 50% mean that it lies with a 0.5 probability ? V. All My Articles & other Materials here: Valentin Albillo's HP Collection |
|||
12-21-2023, 02:08 PM
(This post was last modified: 12-21-2023 02:12 PM by Namir.)
Post: #4
|
|||
|
|||
RE: Hi-Low Game with a twist
- Does a 100% mean that the program never lies ?
- Does a 0% mean that the program always lies (which would be tantamount to it never lying, you'd just consider the opposite of what it says) ? - Does a 50% mean that it lies with a 0.5 probability ? Yes to all of the above! I added an explanation about the reliility. This feature has existed for several decades in various computer languages (books and articles). I have no reference to any of these for the time being. Namir |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)