(34C) The Ming Mystery
|
01-24-2020, 09:49 PM
(This post was last modified: 01-25-2020 07:27 PM by Archilog.)
Post: #1
|
|||
|
|||
(34C) The Ming Mystery
Here is a game to guess a number of five digits (among nine) with your HP-34C.
How can I play it? There are two ways for playing this Mystère Ming game: - You prefer an easy game with a lot of time to read the relevance of your guess and to think to your next answer: press A; - You want to try the hardest level with only one second to read the answer of the 34C to your guess: press B. Once you keyed in the program, press A or B in Run mode. At first, your calculator will ask you for a seed, displaying 0.335 (or SEE.D by reading upside down). Enter any number strictly superior to 1, then press [R/S]. Next games won't require any other seed. The calculator will choose five digits, maybe will repeat some, and then will display 0,00000, waiting for your first guess. Enter five digits (not zero) and press [R/S]. Your 34C will display after a while... its answer: your guess will appear on the left, and the decimals will indicate: - a correct guess for a digit at the right place (1); - a correct guess for a digit at a wrong place (2); - a wrong guess (0). In easy mode (A), take your time to remember what you had played and carefully analyse the new situation. In hard mode (B), the display is cleared! You'll have to remember your guess and the answer of the machine. Example 12.345,10202 You lucky, "1" is correctly placed, "3" and "5" are parts of the solution. 16.573,10101 What a chance! 18.593,10111 Only one more to find... 19.593,12111 No, not this one. 15.593,11111 Yes! At the end of the game, the result is displayed alternatively with the number of your guesses. Congratulations! Note: if you want to double the pause of the game in B mode, just add these two instructions (F? 1 PSE) at step 056. Program: (part I) Code:
(part II) Code:
This program was first published there in 2014 (p. 23). You can find some explanations in this article. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)