main #1

Merged
daniel156161 merged 15 commits from main into dev 2024-04-13 03:03:13 +02:00

15 Commits

Author SHA1 Message Date
daniel156161 74b1e79a90 store what snake win the game 2024-04-13 02:37:05 +02:00
daniel156161 0027476c4e move host, port and debug to server run function make .env variables writen in CAPS 2024-04-13 01:22:54 +02:00
daniel156161 4b179bc452 make main.py executable 2024-04-13 01:12:45 +02:00
daniel156161 9889993d39 add python shebang to main file 2024-04-13 01:12:08 +02:00
daniel156161 55c4a8aa72 add choice to enable store game state into .env file 2024-04-13 01:09:51 +02:00
daniel156161 b3d98dbdeb add path to GameStorage and add option to enable store game state (default its disabled) 2024-04-13 01:09:26 +02:00
daniel156161 91e0d8fd1b move server into own class and remove handlers dict 2024-04-13 00:57:55 +02:00
daniel156161 bc225faa51 move config.py to a .env file 2024-04-13 00:57:21 +02:00
daniel156161 f444f25a53 create snake builder to select snake from a .env file 2024-04-13 00:56:56 +02:00
daniel156161 1cc272c279 ignore .env file 2024-04-12 23:21:33 +02:00
daniel156161 4173544d08 add dotenv and remove typing and change to inbuild dict 2024-04-12 23:21:12 +02:00
daniel156161 b00de3fc56 add mode to only get to food if its nearby 2024-04-12 23:10:39 +02:00
daniel156161 3aec07a7e7 change server to enable debug and not output body output getting very long 2024-04-12 23:10:00 +02:00
daniel156161 5e63d0b35e make more turn often in circles up to 300 turns 2024-04-12 18:28:42 +02:00
daniel156161 f0132c5b21 add history to MasterSnake 2024-04-12 16:01:21 +02:00