Talk:Guess the number: Difference between revisions

Content added Content deleted
(→‎Language: new section)
Line 11: Line 11:


Suggest removing the explicit invokation of 'conditional loop', as some languages' syntax don't use that syntax. (I'm thinking of logic languages and, I think, functional languages.) A more precise description might be, "The program randomly chooses a number [1-10]. The program then keeps asking the user to guess what that number is until the user inputs that number as their guess." --[[User:Short Circuit|Michael Mol]] 14:32, 29 October 2010 (UTC)
Suggest removing the explicit invokation of 'conditional loop', as some languages' syntax don't use that syntax. (I'm thinking of logic languages and, I think, functional languages.) A more precise description might be, "The program randomly chooses a number [1-10]. The program then keeps asking the user to guess what that number is until the user inputs that number as their guess." --[[User:Short Circuit|Michael Mol]] 14:32, 29 October 2010 (UTC)

Well, I think we could keep the wording, but just state in the examples that the language does not use conditional loops and state how these are emulated. so at least we have a task for conditional loops.

Failing that we could split the task. For example:
Guess the number (using conditional loops) and Guess the number (using the blah blah blah method), etc.

[[User:Markhobley|Markhobley]] 14:40, 29 October 2010 (UTC)