Program SnakeGame;
Uses crt;
Const
width = 79;
height = 28;
Type
PDirection = (Up, Down, Left, Right);
PSnake = Record
HeadX, HeadY: Integer;
TailX, TailY: Array [1..100] Of Integer;
Length: Integer;
Direction: PDirection;
End;
PFood = Record
x,y: Integer...