Strax

How to Win Snake: The UNKILLABLE Snake AI

0 Visningar· 02/11/26
Teacherflix
Teacherflix
5 Prenumeranter
5
I

I watched the CodeBullet Snake AI video on the morning after Thanksgiving and spent WAAAAYY too much time working on an AI of my own. I present to you: Snake, as played algorithmically with Dynamic Hamiltonian Cycle Repair. The snake can never die - like really, actually, literally, can't be killed - it's just a matter of how fast it wins the game…

If you, like me, enjoy watching snakes run around eating apples for hours on end, enjoy this follow-up where I took the median-length game from my best performing algorithm and posted the whole darn thing on YouTube:
https://youtu.be/YqL7bl3I5IE

Check out the other social media for updates and ramblings:
https://www.facebook.com/AlphaPhoenixChannel/
https://twitter.com/Alpha__Phoenix

#Snake #AI #Math

CODE!
https://github.com/BrianHaidet..../AlphaPhoenix/tree/m

Snake References:
@CodeBullet
CodeBullet's (Most recent) snake video: https://youtu.be/tjQIO1rqTBE
@johnflux1
John Tapsell's Nokia snake project: https://johnflux.com/2015/05/0....2/nokia-6110-part-3-

Mathworks File Exchange Reference:
A* code originally written by Einar Ueland
https://www.mathworks.com/matl....abcentral/fileexchan

Actual MATH Papers:
http://mathworld.wolfram.com/GridGraph.html
https://epubs.siam.org/doi/10.1137/0211056
http://www.cs.technion.ac.il/~....itai/publications/Al
https://drops.dagstuhl.de/opus..../volltexte/2018/9951

https://link.springer.com/chap....ter/10.1007%2F978-3-
https://arxiv.org/pdf/1008.0541v1.pdf
https://arxiv.org/pdf/1707.05994.pdf
https://onlinelibrary-wiley-co....m.proxy.library.ucsb
https://www.sciencedirect.com/....science/article/abs/
https://en.wikipedia.org/wiki/....Hamiltonian_path_pro
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.23.6765&rep=rep1&type=pdf
http://weber.itn.liu.se/~valpo40/pages/hamtile.pdf
https://www.sciencedirect.com/....science/article/pii/
https://www.sciencedirect.com/....science/article/pii/

Other clips in this video:
https://xkcd.com/356/
Morbo "Dooom" (Futurama)
"That's Illegal" meme (Red vs. Blue)

Music in this video:
I Dunno by grapes is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/3.0/)
http://ccmixter.org/files/grapes/16626

Visa mer

 0 Kommentarer sort   Sortera efter