2048: Difference between revisions

4 bytes removed ,  21 days ago
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:FutureBasic 2048 Game Window.png]]
{{out}}
[[File:2048 Game Window.png]]
 
=={{header|Go}}==
Line 16,702:
{{libheader|Wren-fmt}}
{{libheader|Wren-str}}
<syntaxhighlight lang="ecmascriptwren">import "./dynamic" for Enum, Struct
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"])
416

edits