Mastermind: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
 
Line 1,145:
[https://easylang.dev/apps/mastermind.html Run it]
 
<syntaxhighlight lang="text">
# Mastermind:w90
#
col[] = [ 802 990 171 229 950 808 ]
len code[] 4
len guess[] 4
#
subr init_vars
row = 0
Line 1,250 ⟶ 1,248:
init_vars
for i to 4
code[i] = randomrandint 6
.
color 531
1,969

edits