Game on Basic! + some tests, drawbitmap upd
This commit is contained in:
parent
114eabe5aa
commit
cc8fd24a10
6 changed files with 385 additions and 0 deletions
23
temp/main.bas
Normal file
23
temp/main.bas
Normal file
|
@ -0,0 +1,23 @@
|
|||
SUB MAIN
|
||||
|
||||
DIM STOP AS BOOLEAN
|
||||
DIM A, R AS INTEGER
|
||||
DIM TEMP AS DOUBLE
|
||||
DIM ITEMS(2) AS STRING
|
||||
|
||||
ITEMS(1)="START"
|
||||
ITEMS(2)="EXIT"
|
||||
|
||||
WHILE NOT STOP
|
||||
R = SELECT("SELECT ACTION",ITEMS,FALSE)
|
||||
IF R = 1 THEN
|
||||
PRINT("WAIT...")
|
||||
SLEEP 1000
|
||||
TEMP = ROUND(RND(60)*6,2)
|
||||
A = ALERT(STR$(TEMP),"DONE", "OK","","", TRUE)
|
||||
ELSE
|
||||
STOP = TRUE
|
||||
END IF
|
||||
END WHILE
|
||||
|
||||
END SUB
|
Loading…
Add table
Add a link
Reference in a new issue