Logo
Explore Help
Sign In
daniel156161/snake-python
1
0
Fork 0
You've already forked snake-python
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
136 Commits 2 Branches 1 Tag
c45821912587d7bdcc97022d0708fb04109c608f
Commit Graph

11 Commits

Author SHA1 Message Date
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
Powered by Gitea Version: 1.26.2 Page: 1185ms Template: 285ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API