Mastermind: Difference between revisions
m
→{{header|EasyLang}}
(One intermediate revision by one other user not shown) | |||
Line 1,145:
[https://easylang.dev/apps/mastermind.html Run it]
<syntaxhighlight
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] =
.
color 531
Line 4,167 ⟶ 4,165:
{{libheader|Wren-ioutil}}
{{libheader|Wren-str}}
<syntaxhighlight lang="
import "./ioutil" for Input
import "./str" for Str
var Rand = Random.new()
|