Rock-paper-scissors: Difference between revisions

Content added Content deleted
Line 1,076: Line 1,076:
70 print "Enter r, p, or s as your play."
70 print "Enter r, p, or s as your play."
80 print "Running score shown as <your wins>:<my wins>"
80 print "Running score shown as <your wins>:<my wins>"
90 achoice=rnd*2.9+1 ' because achoice could be 4 with rnd*3+1
90 achoice=rnd*2.99+.5 ' get integer between 1 and 3 from real between .5 and <3.5
100 ' get key
100 ' get key
110 pin$=inkey$
110 pin$=inkey$