Tetris/Wren: Difference between revisions
Content added Content deleted
(Added code.) |
m (Fixed syntax highlighting.) |
||
Line 2: | Line 2: | ||
{{libheader|raylib-wren}} |
{{libheader|raylib-wren}} |
||
See Go entry for notes on playing. |
See Go entry for notes on playing. |
||
< |
<syntaxhighlight lang="ecmascript">import "raylib" for Raylib as rl, Color, Key, Vector2 |
||
import "random" for Random |
import "random" for Random |
||
import "./fmt" for Fmt |
import "./fmt" for Fmt |
||
Line 649: | Line 649: | ||
} |
} |
||
UnloadGame.call() |
UnloadGame.call() |
||
rl.closeWindow()</ |
rl.closeWindow()</syntaxhighlight> |