From 03857c12df6bf1a9fe2471ff5c09e47056ce7303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E5=BF=97=E8=B6=85?= <2219099463@qq.com> Date: Tue, 28 May 2024 19:02:42 +0800 Subject: [PATCH] first commit --- config.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config.py diff --git a/config.py b/config.py new file mode 100644 index 0000000..0e72df6 --- /dev/null +++ b/config.py @@ -0,0 +1,12 @@ +import os + + +'''定义一些超参''' +WIDTH = 600 +HEIGHT = 600 +NUMGRID = 8 +GRIDSIZE = 64 +XMARGIN = (WIDTH - GRIDSIZE * NUMGRID) // 2 +YMARGIN = (HEIGHT - GRIDSIZE * NUMGRID) // 2 +ROOTDIR = os.getcwd() +FPS = 30 \ No newline at end of file