add map stuff
This commit is contained in:
parent
e55ba81d94
commit
9a9a39cbfb
10
map.fnl
Normal file
10
map.fnl
Normal file
|
@ -0,0 +1,10 @@
|
|||
(local gridWidth 50)
|
||||
(local gridHeight 25)
|
||||
|
||||
(var map {})
|
||||
|
||||
(fn start [map width height]
|
||||
(for [i 1 width]
|
||||
(tset map i {})
|
||||
(for [j 1 height]
|
||||
(tset map i j "#"))))
|
Loading…
Reference in a new issue