David du Colombier 69d5598bba Plan 9 from Bell Labs 2008-05-12 16 роки тому
..
README f886e82aa3 Plan 9 from Bell Labs 2005-09-06 18 роки тому
animation.c f886e82aa3 Plan 9 from Bell Labs 2005-09-06 18 роки тому
graphics.c 2a35dbc91e Plan 9 from Bell Labs 2004-09-22 19 роки тому
level.c 2a35dbc91e Plan 9 from Bell Labs 2004-09-22 19 роки тому
mkfile f886e82aa3 Plan 9 from Bell Labs 2005-09-06 18 роки тому
move.c 2a35dbc91e Plan 9 from Bell Labs 2004-09-22 19 роки тому
route.c 69d5598bba Plan 9 from Bell Labs 2008-05-12 16 роки тому
sokoban.c 69d5598bba Plan 9 from Bell Labs 2008-05-12 16 роки тому
sokoban.h f886e82aa3 Plan 9 from Bell Labs 2005-09-06 18 роки тому

README

If you click with mouse button 1
on a (destination) square then the following may happen.

If
- the destination square is on the same row or column as glenda, and
- there is a ball next to glenda
(in the direction of the destination square), and
- all squares between the ball and the destination square
(where glenda will move) are empty, and
- the square next to the destination square where glenda will
push the ball is empty too,
then glenda will move to the destination square, pushing the
ball while moving.

Otherwise, if glenda can go to the destination square
without touching anything, it will do so.

Otherwise, nothing will happen.

The breadth-first search algorithm should find a fast route.
it can be seen in action by toggling the 'animate'
entry in the button 3 menu.