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
65 Commits 2 Branches 1 Tag
6d9df320764e413a8397b072a4ceb1760de6f4e4
Commit Graph

7 Commits

Author SHA1 Message Date
daniel156161 6d9df32076 add more debug outputs and use all the self.args when neaded in a specific function, make own variable to only store other snakes 2024-04-15 23:16:15 +02:00
daniel156161 863ca1b277 fix calculations and not run in snake tail when in constrictor game mode 2024-04-15 22:20:15 +02:00
daniel156161 16cab3a9ca change code to store safe_positions in class and remove self.directions 2024-04-15 21:56:53 +02:00
daniel156161 281b52e71d remove moving tail of snake when begin moves are done and not calculate own body in avoid_snakes because already avoid own body 2024-04-15 14:51:28 +02:00
daniel156161 39b16a1702 add function to avoid get eaten by head to head collisons when my snake is smaller else eat the other snake 2024-04-15 02:13:11 +02:00
daniel156161 c854b5fec9 remove prints and add a note that i neat to fix later 2024-04-14 23:33:11 +02:00
daniel156161 2f8e35aced create a better Master Snake that try to not hit itself 2024-04-14 21:32:43 +02:00
Powered by Gitea Version: 1.26.2 Page: 178ms Template: 22ms
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