Mastermind: Difference between revisions

No change in size ,  11 months ago
(Dialects of BASIC moved to the BASIC section.)
Line 1,153:
row = 0
.
funcproc draw_rate r black white . .
for j range0 2
for c range0 2
Line 1,172:
.
.
funcproc show_code . .
color 531
move 22 92
Line 1,182:
.
.
funcproc draw_guess . .
for c to 4
move c * 12 + 8 row * 11.5 + 7.5
Line 1,189:
.
.
funcproc next_row . .
color 420
linewidth 11
Line 1,203:
text "✓"
.
funcproc rate . .
move 73.5 row * 11.5 + 7.5
color 531
Line 1,245:
row = -2
.
funcproc new . .
call init_vars
for i to 4
Line 1,288:
call next_row
.
funcproc do_move . .
c = (mouse_x - 15) div 12
guess[c + 1] = guess[c + 1] mod 6 + 1
1,973

edits