Guess the number/With feedback: Difference between revisions

m
added whitespace and bullet points to the task's preamble.
m (added whitespace and bullet points to the task's preamble.)
Line 1:
{{task|Games}}
{{task|Games}}The task is to write a game that follows the following rules:
 
:The computer will choose a number between given set limits and asks the player for repeated guesses until the player guesses the target number correctly. At each guess, the computer responds with whether the guess was higher than, equal to, or less than the target - or signals that the input was inappropriate.
;Task:
{{task|Games}}TheWrite taska isgame to(computer write a gameprogram) that follows the following rules:
::* The computer chooses a number between given set limits.
::* The player is asked for repeated guesses until the the target number is guessed correctly
::* At each guess, the computer responds with whether the guess is:
:::::* higher than the target,
:::::* equal to the target,
:::::* less than the target,   or
:::::* the input was inappropriate.
 
 
;C.f.:
*   [[Guess the number/With Feedback (Player)]]
<br><br>