ADM demo rewritten without curses.

Examples reorganized.
Added examples for 37-in-1 sensor kit (not complete yet).
This commit is contained in:
Serge Vakulenko
2015-05-14 22:11:47 -07:00
parent 581ab61262
commit ea03a4bc98
64 changed files with 778 additions and 204 deletions

View File

@@ -0,0 +1,13 @@
10 rem ****************************
20 rem *** Play the HI/LOW game ***
30 rem ****************************
40 n = rnd(100)
50 c = 0
60 input "Guess a number? ", g
70 c = c+1
80 if g=n then 120
90 if g>n then print "lower"
100 if g<n then print "higher"
110 goto 60
120 print "You guessed it in", c, " tries!"
130 exit