[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Pete's QBASIC Site • Chaos to Order experiment two.
Page 1 of 1

Chaos to Order experiment two.

Posted: Mon Aug 30, 2010 4:06 pm
by frenchfry
1 CLS
5 SCREEN 12
6 c = 1: d = 1


10 RANDOMIZE TIMER
100 a = INT(RND(1) * 4) + 1
110 b = INT(RND(1) * 3) + 1
115 zz = INT(RND(1) * 5)
116 RANDOMIZE TIMER

120 IF a <> b THEN 200 ELSE 10

200 RANDOMIZE TIMER

500 IF a = 3 THEN c = c + 1
510 IF a = 2 THEN c = c - 1

520 IF b = 3 THEN d = d + 1
530 IF b = 2 THEN d = d - 1
600 PSET (400 + c, 300 + d), zz



1000 GOTO 10