add map stuff

This commit is contained in:
Anish Lakhwara 2022-12-24 20:26:49 +10:00
parent e55ba81d94
commit 9a9a39cbfb
2 changed files with 36 additions and 0 deletions

10
map.fnl Normal file
View 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 "#"))))

26
map.txt Normal file
View file

@ -0,0 +1,26 @@
##############
# ############################
# #
# #
# ############# #
# # # #
############## # #
# #
# #
# #
########### ###
# #
# # #####
# #### #
# c#
# #### #
# # #####
############################ #
# #
############################ #
# #
####