ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
368 B

  1. 1 PRINT TAB(30);"SLOTS"
  2. 2 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
  3. 3 PRINT: PRINT: PRINT
  4. 5 DEF FNA(Z)=30*EXP(-Z*Z/100)
  5. 100 PRINT
  6. 110 FOR X=-30 TO 30 STEP 1.5
  7. 120 L=0
  8. 130 Y1=5*INT(SQR(900-X*X)/5)
  9. 140 FOR Y=Y1 TO -Y1 STEP -5
  10. 150 Z=INT(25+FNA(SQR(X*X+Y*Y))-.7*Y)
  11. 160 IF Z<=L THEN 190
  12. 170 L=Z
  13. 180 PRINT TAB(Z);"*";
  14. 190 NEXT Y
  15. 200 PRINT
  16. 210 NEXT X
  17. 300 END