Mastermind: Difference between revisions

Content deleted Content added
Chkas (talk | contribs)
Chkas (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 1,143:
=={{header|EasyLang}}==
 
[https://easylang.devonline/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 4,167:
{{libheader|Wren-ioutil}}
{{libheader|Wren-str}}
<syntaxhighlight lang="ecmascriptwren">import "random" for Random
import "./ioutil" for Input
import "./str" for Str
 
var Rand = Random.new()