Handbook
Glossary
board-three ( gadget -- gadget )
Vocabulary
gamelib
.
demos
.
sokoban
.
layouts
Inputs
gadget
an
object
Outputs
gadget
an
object
Definition
USING:
gamelib.board
gamelib.ui
sequences
;
IN:
gamelib.demos.sokoban.layouts
:
board-three
( gadget -- gadget )
8 8
make-board
{
1 1
}
player
add-to-cell
{
{
0 0
}
{
1 0
}
{
2 0
}
{
3 0
}
{
4 0
}
{
5 0
}
{
6 0
}
{
7 0
}
{
0 1
}
{
7 1
}
{
0 2
}
{
7 2
}
{
0 3
}
{
7 3
}
{
0 4
}
{
7 4
}
{
0 5
}
{
7 5
}
{
0 6
}
{
7 6
}
{
0 7
}
{
1 7
}
{
2 7
}
{
3 7
}
{
4 7
}
{
5 7
}
{
6 7
}
{
7 7
}
}
"vocab:gamelib/demos/sokoban/resources/Wall_Brown.png"
add-to-cells
{
2 1
}
"vocab:gamelib/demos/sokoban/resources/Crate_Yellow.png"
make-crate
add-to-cell
{
3 1
}
"vocab:gamelib/demos/sokoban/resources/Goal.png"
add-to-cell
{
}
1sequence
add-board
;