CLI-based maze-game: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (Automated syntax highlighting fixup (second round - minor fixes)) |
m (→{{header|Wren}}: Wren-trait -> Wren-iterate) |
||
Line 1,460: | Line 1,460: | ||
{{libheader|Wren-dynamic}} |
{{libheader|Wren-dynamic}} |
||
{{libheader|Wren-str}} |
{{libheader|Wren-str}} |
||
{{libheader|Wren- |
{{libheader|Wren-iterate}} |
||
An embedded script so we can use the ncurses library. |
An embedded script so we can use the ncurses library. |
||
<syntaxhighlight lang="ecmascript">/* cli_based_maze_game.wren */ |
<syntaxhighlight lang="ecmascript">/* cli_based_maze_game.wren */ |
||
Line 1,466: | Line 1,466: | ||
import "./dynamic" for Enum, Tuple, Struct |
import "./dynamic" for Enum, Tuple, Struct |
||
import "./str" for Char |
import "./str" for Char |
||
import "./ |
import "./iterate" for Stepped |
||
import "random" for Random |
import "random" for Random |
||