15 puzzle game: Difference between revisions
→{{header|Ring}}
Line 5,195:
=={{header|EasyLang}}==
[https://easylang.
<syntaxhighlight lang="text">
Line 5,203:
len f[] 16
proc draw . .
.▼
color 885▼
.
.▼
▲ .
.
global done .
move x y▼
proc init . .
.
.
if inv mod 2
swap f[1] f[2]
▲ .
.
call draw
.
proc move_tile . .
call draw
for
if f[i] > f[i +
.
.
if
clear
.
.
on mouse_down
call
call
▲ done = 2
▲ else
▲ .
.
call init
</syntaxhighlight>
Line 11,980 ⟶ 11,960:
[https://youtu.be/IZqpYctv8Zs CalmoSoft Fifteen Puzzle Game in Ring - video]
[[Files:CalmoSoftFifteenPuzzle.png]]
=={{header|Ruby}}==
|