2048: Difference between revisions
m
→{{header|FutureBasic}}: Remove FutureBasic 'Output' label
m (→{{header|FutureBasic}}: Remove FutureBasic 'Output' label) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 8,169:
void local fn drawBoard
int x, y,r = 1, add
cls
for y = 320 to 20 step -100
for x = 20 to 320 step 100
Line 8,299 ⟶ 8,300:
handleevents
</syntaxhighlight>
▲[[File:2048 Game Window.png]]
=={{header|Go}}==
Line 16,702:
{{libheader|Wren-fmt}}
{{libheader|Wren-str}}
<syntaxhighlight lang="
import "random" for Random
import "./ioutil" for Input
import "./fmt" for Fmt
import "./str" for Str
var MoveDirection = Enum.create("MoveDirection", ["up", "down", "left", "right"])
|