]> Untitled Git - axy/ft/a-maze-ing.git/commitdiff
Makefile and changed config
authorAxy <gilliardmarthey.axel@gmail.com>
Wed, 25 Mar 2026 17:26:24 +0000 (18:26 +0100)
committerAxy <gilliardmarthey.axel@gmail.com>
Wed, 25 Mar 2026 17:26:24 +0000 (18:26 +0100)
Makefile
example.conf

index d3a9b23cf3194ad4876bb67f98d2780eeeb6f409..576591f83ab2fb825060d1318c045168b43db10b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@ install:
 venv_bash: .venv
        bash --init-file <(echo ". ~/.bashrc; export TERM=xterm-256color; . .venv/bin/activate")
 
+run-prof:
+       python -m cProfile -o out.prof __main__.py
+       flameprof out.prof > prof.svg
+
 run:
 
 clean:
index 572d49b8d3cb15149f0b0b308143e19b6a00f28a..ba2f5395ea3f069dee9172a4e0cf006db8ef2efe 100644 (file)
@@ -1,5 +1,5 @@
-WIDTH=100
-HEIGHT=100
+WIDTH=25
+HEIGHT=25
 ENTRY=0,0
 EXIT=24,24
 OUTPUT_FILE=test
@@ -37,11 +37,3 @@ TILEMAP_BACKGROUND=1"{100,1000,1000:0,0,0}##  ##  "
 #MAZE_PATTERN="       "
 #MAZE_PATTERN="#  #  #"
 #MAZE_PATTERN=" ## ## "
-MAZE_PATTERN="  ###  "
-MAZE_PATTERN=" ## ## "
-MAZE_PATTERN="#  #  #"
-MAZE_PATTERN="#  #  #"
-MAZE_PATTERN="##   # "
-MAZE_PATTERN="#  #  #"
-MAZE_PATTERN=" #   # "
-MAZE_PATTERN="  ###  "