daniel156161
|
43c7720480
|
fix circular import errors so the server and start again
|
2026-04-06 04:30:02 +02:00 |
|
daniel156161
|
0a3db6ba57
|
add versions to snakes and read it in server class
|
2026-04-03 19:57:55 +02:00 |
|
daniel156161
|
e068fb8614
|
add function when not eat food to remove snake tail
|
2024-05-08 23:45:07 +02:00 |
|
daniel156161
|
ef4dca447f
|
fix error where my snake got not found in avoid_get_eaten_by_other_snakes
|
2024-04-18 23:56:49 +02:00 |
|
daniel156161
|
f98430462b
|
use new game board functions
|
2024-04-18 22:21:57 +02:00 |
|
daniel156161
|
87690177a5
|
make find_safe_positions function be useable for more posisions
|
2024-04-18 19:52:19 +02:00 |
|
daniel156161
|
5796ce0a6e
|
add function to calculate where the new snake body is with or with no tail based on the move that is taken
|
2024-04-18 17:14:49 +02:00 |
|
daniel156161
|
950351b407
|
add code to not get eaten when head is by food
|
2024-04-17 15:15:25 +02:00 |
|
daniel156161
|
d4b54d48b9
|
when both posisions are not save keep them in safe posisions - remove other useless MasterSnake
|
2024-04-17 13:35:42 +02:00 |
|
daniel156161
|
034b0e361a
|
save direction to kill the snake use the correct kill direction in overwrite_eat_the_other_snake can end in a draw when both heads are by the food
|
2024-04-17 12:22:54 +02:00 |
|
daniel156161
|
a606ae6f94
|
add template code for a smart random snake
|
2024-04-17 11:53:21 +02:00 |
|
daniel156161
|
f444f25a53
|
create snake builder to select snake from a .env file
|
2024-04-13 00:56:56 +02:00 |
|
daniel156161
|
dde746900c
|
add template snake for history
|
2024-04-01 05:16:20 +02:00 |
|