CRAPS 1.2 This program automatically plays craps and bets according the a predetermined pattern and then analyzes the results of any number of rolls of the dice. It worked pretty well and would even print out the results. The program did show me a method of 'beating' the odds of craps (as much as one might be able to), but the required process to do so was virtually profitless. REM A = Die #1 REM B = Die #2 REM C = Sum of dice REM D = Bet REM E = Bank REM F = Win match # REM G = Full program loop REM H = Full program loop designation REM I = Max Bet REM J = Low Bank REM K = High Bank REM L = Permanent bank REM M = Last bets boolean REM N$ = Win/Lose Indicator REM O = Last bets boolean #2 REM P = Total program loop REM Q = Total program loop designation TEXTFONT(4) TEXTSIZE(9) 5 REM +++ SET VARIABLES +++ INPUT "Times to run";Q INPUT "Original Bank";E L=E INPUT "Number of trials";H FOR P=1 TO Q E=L RESTORE D=1 I=1 J=E K=E L=E M=0 N$="" O=0 FOR G=1 TO H REM +++ GET FIRST ROLL +++ 10 RANDOMIZE TIMER A=INT(RND(1)*6+1) RANDOMIZE TIMER B=INT(RND(1)*6+1) C=A+B REM PRINT " Bet =";D,"FIRST ROLL =";C REM +++ IS FIRST ROLL WIN OR LOSE? +++ IF C=2 THEN 100 IF C=3 THEN 100 IF C=12 THEN 100 IF C=7 THEN 200 IF C=11 THEN 200 REM +++ WIN MATCH +++ 50 RANDOMIZE TIMER A=INT(RND(1)*6+1) RANDOMIZE TIMER B=INT(RND(1)*6+1) F=A+B REM PRINT " Win match =";F IF F=C THEN 200 IF F=7 THEN 100 GOTO 50 REM +++ LOSE +++ 100 LET E=E-D IF J>E THEN J=E REM IF E<=0 THEN 400 IF D=4096 THEN D=4096 READ D REM PRINT D IF D>=32 AND D=(2*L) THEN 400 IF K