Check every value in a list in TI-Basic
I'm writing a snake game in TI-Basic, and every time I move I need to see if the head of the snake has hit any point in the tail. The tail is stored as a circular list-based queue, and I can add the beginning and end in constant time. The only hard part is that I have to do something similar to this on every iteration: (S = Size of the ...