Commit Graph

20 Commits

Author SHA1 Message Date
daniel156161 8a2a62ef57 add env variable for the server class debug 2024-04-18 17:16:23 +02:00
daniel156161 5522a52227 set TemplateSnake as default loaded snake 2024-04-18 16:59:28 +02:00
daniel156161 9950fa1952 create env variable that allow to create a .env file if neaded 2024-04-17 20:09:57 +02:00
daniel156161 38ba576de9 add .env var to set no save when win and turns are less or the same as the var 2024-04-15 03:29:20 +02:00
daniel156161 0af6d862d4 create .env file if its not exists 2024-04-14 13:36:59 +02:00
daniel156161 b48cfe811e add methode to create more snake and use them when more games are running 2024-04-13 10:48:08 +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 91e0d8fd1b move server into own class and remove handlers dict 2024-04-13 00:57:55 +02:00
daniel156161 4173544d08 add dotenv and remove typing and change to inbuild dict 2024-04-12 23:21:12 +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 c7f224ffb5 store time into one string 2024-04-12 12:49:32 +02:00
daniel156161 7d126dcd6a change console output and better way to store the game history 2024-04-12 12:25:55 +02:00
daniel156161 7141266b95 move created files into own data folder and add in .gitignore file 2024-04-12 11:19:43 +02:00
daniel156161 664c374fbf make better save and load function of files and add snake config into a json file 2024-04-12 11:16:49 +02:00
daniel156161 439bd07061 test new sname and add save history code into main 2024-04-01 05:21:52 +02:00
daniel156161 0d7739df76 move files and get ready for new Classes 2024-04-01 03:50:12 +02:00
daniel156161 a2f8f5b800 change to new code of battlesnake 2024-04-01 01:41:06 +02:00