repositories
/
mc1516pa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
interface for sokoban
[mc1516pa.git]
/
code
/
Sokoban.dcl
1
definition module Sokoban
2
3
:: SokobanPuzzle = {
4
width :: Int,
5
height :: Int,
6
data :: [[SokobanTile]]}
7
:: SokobanTile = Wall | Free | Box | Target
8
9
parse :: String *World -> (SokobanPuzzle, *World)