Guess the number: Difference between revisions
Add Plain English
(Added Wren) |
(Add Plain English) |
||
Line 2,423:
(prinl "Well guessed!") )
(prinl "Sorry, this was wrong") ) ) )</lang>
=={{header|Plain English}}==
<lang plainenglish>To run:
Start up.
Play guess the number.
Wait for the escape key.
Shut down.
To play guess the number:
Pick a secret number between 1 and 10.
Write "I picked a secret number between 1 and 10." to the console.
Loop.
Write "What is your guess? " to the console without advancing.
Read a number from the console.
If the number is the secret number, break.
Repeat.
Write "Well guessed!" to the console.</lang>
=={{header|PlainTeX}}==
|