Opening Animation The opening animation is a subprogram called at the start of the game. Instead of writing the animation seperate, I copied part of the actual game and simply timed changing the direction by simulating user input. At any point the animation is skipped by pressing any key, and it jumps right to the game. YOU ARE THE SNAKE. YOU MUST EAT THE FOOD TO GAIN POINTS. DO NOT RUN INTO YOUR TAIL OR BRICKS. Note: It will not reset your graph screen, so it's dimensions and settings will remain the same. YOU ARE THE SNAKE. YOU MUST EAT THE FOOD TO GAIN POINTS. DO NOT RUN INTO YOUR TAIL OR BRICKS. The integer is it's 'X' coordinate, and the decimal the 'Y' coordinate divided by 100. It starts in one spot then jumps randomly when eaten. The integer part of it is the score, and the decimal is the counter to how long your tail grows when you eat food. Pt-On 8,-2,2 Pt-On 5,-2,2 Pt-On 2,-2,2 Pt-On iPart B ,-100fPart B ,3 Draws the food and snake. Z is the direction that the snake is heading, based on keycodes. Theta is your keypress. The screen is divided into blocks of 3x3 pixels, so the snake needs you move 3 pixels each time to not die accidently. If it isn't the last block isn't removed, so the tail grows longer without extending outwards. The tail stays in the same place and the head keep moving. The only things that do that are the snake blocks themselves and the blocks in the map. Because the head isn't drawn yet, this only accounts for running into things. Pt-On iPart A ,-100fPart A ,2 This draws where the head is. If the counter is on, it doesn't. It also decrements the counter if it is not equal to zero. End End of loop. Food Spawn The respawn for the food is complicated, so I made it a subprogram. Because the food is in a cross, and surrounded by a box, we only need to turn off the middle pixel to remove it. It also checks to make sure at least two spots next to it are open so that it doesn't spawn where you can't get to it. This works like a charm on my TI-84 plus Silver Edition, but I don't know how it works on anything else. Newer Snake This is a newer and probably faster version of the same game.