mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 15:10:18 +00:00
These tests use a variety of sample code (with some of the larger files removed, so they are not complete!) and verifies that they all compile successfully.
21 lines
417 B
QBasic
21 lines
417 B
QBasic
'This is a very simple dice game. I am still new at Qb so please humor me.
|
|
'Also, Thank You for downloading this!
|
|
|
|
REM Created 8/27/04
|
|
|
|
|
|
CLS
|
|
RANDOMIZE TIMER
|
|
PRINT "Version 1.5"
|
|
PRINT
|
|
Dice = INT(RND(1) * 6) + 1
|
|
PRINT "Your dice throws came up as numbers "; Dice;
|
|
Dice = INT(RND(1) * 6) + 1
|
|
PRINT " and "; Dice
|
|
PRINT
|
|
PRINT "(C) 2004 John Mendoza"
|
|
PRINT "ALL RIGHTS RESERVED"
|
|
END
|
|
|
|
' Email me at falconboy16@hotmail.com
|
|
|