Wave function collapse: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(Created Nim solution.) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,016:
=={{header|Wren}}==
{{trans|C}}
The following is a translation of
▲The following is a translation of his C version before macros were added. Wren doesn't support macros and, whilst I could use functions instead, I decided on efficiency grounds to leave it as it is.
▲<syntaxhighlight lang="ecmascript">import "random" for Random
var rand = Random.new()
|