5 scripts tagged as: [support · riki100024]
Guess the number | ||
guess-the-number.r | 1.7 KB 12 Oct 2014 | This game will ask you to enter a number
and will then say if it is more or less than a predefined random number
with best ability and worst luck
you will need (log in base 2 of MAX) tries to guess the number
(if you are interested in this google Binary search [...] author: Caridorc |
Natural numbers sum | ||
natural-numbers-sum.r | 1.0 KB 27 Sep 2014 | Sums all the natural numbers up to
a given input.
Uses the equality:
1 + 2 + 3 +... + n = n*(n+1)/2
to avoid looping. author: Caridorc |
The number-memory buttons | ||
number-buttons-game.r | 3.6 KB 23 Sep 2014 | In this game you will have to click the buttons
and memorize the numebers, at the end you will
be asked to write the bigger or the smaller.
This is a race against your memory. author: Caridorc |
Natural numbers sum | ||
nutural-numbers-sum.r | 1.0 KB 27 Sep 2014 | Sums all the natural numbers up to
a given input.
Uses the equality:
1 + 2 + 3 +... + n = n*(n+1)/2
to avoid looping. author: Caridorc |
Pytagoras' theorem | ||
pytagoras-thorem.r | 1.7 KB 3 Oct 2014 | User friendly interface to apply
the Pytagoras' theorem. author: Caridorc |