-I made a locate randomizer for the point to eat (◆), and i want the program to detect when the snake (Square) touches it. The cordenates have variables (XP and YP).
Can somebody help me? Im trying to make a snake game, i already made the controls and the snake (wich is just squares) but i dont know how to make it so the "tail" dissappears acording to the score (Score=1 then theres only two squares).
Here are the details:
-Theres a SCORE variable.
-I made XE and YE variables to locate where to print a black square so the "tail" dissappears.
[Character Limit]