daniel156161
|
156ccbaf10
|
Merge pull request 'main' (#3) from main into dev
Reviewed-on: #3
|
2024-04-13 11:48:40 +02:00 |
|
daniel156161
|
b48cfe811e
|
add methode to create more snake and use them when more games are running
v1.0
|
2024-04-13 10:48:08 +02:00 |
|
daniel156161
|
22b8746972
|
store better winning snake and add final turns and not sive where i win and moves are less the 10 turns
|
2024-04-13 10:03:42 +02:00 |
|
daniel156161
|
615acfc75a
|
store game history into dict to not mix data with other games
|
2024-04-13 10:02:51 +02:00 |
|
daniel156161
|
9fc0c9f82b
|
add better typeing of knowing what GameBoard it is in GameStorage
|
2024-04-13 08:34:58 +02:00 |
|
daniel156161
|
b3f9b63df0
|
Merge pull request 'main (#1)' (#2) from dev into main
Reviewed-on: #2
|
2024-04-13 03:06:58 +02:00 |
|
daniel156161
|
00a695f838
|
Merge branch 'main' into dev
|
2024-04-13 03:05:08 +02:00 |
|
daniel156161
|
7acc269df4
|
main (#1)
Reviewed-on: #1
Co-authored-by: Daniel Dolezal <d.dolezal97@protonmail.com>
Co-committed-by: Daniel Dolezal <d.dolezal97@protonmail.com>
|
2024-04-13 03:03:09 +02:00 |
|
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 |
|
daniel156161
|
5633c4c134
|
add new Snake
|
2024-04-12 15:43:29 +02:00 |
|
daniel156161
|
cbe8890b59
|
add a good snake
|
2024-04-12 14:23:45 +02:00 |
|
daniel156161
|
c7f224ffb5
|
store time into one string
|
2024-04-12 12:49:32 +02:00 |
|
daniel156161
|
3c7946382c
|
more error correction and stop to hit self
|
2024-04-12 12:27:11 +02:00 |
|
daniel156161
|
e9a6e106c8
|
change to new save folder
|
2024-04-12 12:26:30 +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
|
33bcb09556
|
add docker-compose file
|
2024-04-01 05:26:10 +02:00 |
|
daniel156161
|
683002343c
|
update docker file
|
2024-04-01 05:22:35 +02:00 |
|
daniel156161
|
439bd07061
|
test new sname and add save history code into main
|
2024-04-01 05:21:52 +02:00 |
|
daniel156161
|
2c7cf98309
|
add new snake with astar and flood_fill
|
2024-04-01 05:20:45 +02:00 |
|
daniel156161
|
b1c0c14444
|
add history to existing snakes
|
2024-04-01 05:16:45 +02:00 |
|
daniel156161
|
dde746900c
|
add template snake for history
|
2024-04-01 05:16:20 +02:00 |
|
daniel156161
|
7a0d8b8b1b
|
fix dumm snake
|
2024-04-01 04:02:20 +02:00 |
|
daniel156161
|
4bde399ae5
|
add DummSnake and test in config
|
2024-04-01 03:59:48 +02:00 |
|
daniel156161
|
c1d782ee16
|
remove logo from README
|
2024-04-01 03:54:22 +02:00 |
|
daniel156161
|
d06c05b7b3
|
move Server Logic to own Snake Class
|
2024-04-01 03:51:57 +02:00 |
|
daniel156161
|
0d7739df76
|
move files and get ready for new Classes
|
2024-04-01 03:50:12 +02:00 |
|
daniel156161
|
d7d069acc3
|
move tests file into own folder
|
2024-04-01 01:56:31 +02:00 |
|
daniel156161
|
48b07e3c83
|
add cli tool for linux
|
2024-04-01 01:42:36 +02:00 |
|
daniel156161
|
74592979cf
|
remove not neaded files
|
2024-04-01 01:41:19 +02:00 |
|
daniel156161
|
a2f8f5b800
|
change to new code of battlesnake
|
2024-04-01 01:41:06 +02:00 |
|
daniel156161
|
11c1adf96c
|
my battlesnake code
|
2022-01-24 17:12:11 +01:00 |
|
daniel156161
|
ad77bbc1f2
|
Initial commit
|
2022-01-24 15:30:05 +01:00 |
|