From c34c8e19a593d6d3fa70a0e59e256542a2f998a1 Mon Sep 17 00:00:00 2001 From: Axy Date: Wed, 25 Mar 2026 18:26:24 +0100 Subject: [PATCH] Makefile and changed config --- Makefile | 4 ++++ example.conf | 12 ++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index d3a9b23..576591f 100644 --- 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: diff --git a/example.conf b/example.conf index 572d49b..ba2f539 100644 --- a/example.conf +++ b/example.conf @@ -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=" ### " -- 2.53.0