freehuntx / gpn-tron

Lets challenge coders and create the perfect tron bot!
MIT License
32 stars 10 forks source link

My snake walked over itself and didn't die #16

Open akshaymankar opened 1 month ago

akshaymankar commented 1 month ago

Here is a screenshot: image

freehuntx commented 1 month ago

Wow... im really confused 😅 I never had this happening and tbh its hard to debug/reproduce. Do you have any more information maybe? E.g. where did your snake start? Was there any network issues at that time? (I wasnt at the GPN then)

freehuntx commented 1 month ago

My guess is its a rendering bug. You can check that when walking just to the right, your start and end seem to connect. Maybe this case was also some weird rendering?

akshaymankar commented 1 month ago

It was during the initial testing of my bot so unfortunately I don't have much detailed info on this. All I remember is I was looking at silly message my bot was gonna send while it knew it was dying, it wrote the silly message and sent move|up (which I hard coded it to send when there were no other choices) and to my surprise it actually went up. So, I think its not a rendering bug.