Press the arrow keys to point the snake in the direction you want, just be careful to not go off the grid or hit your tail.
A simple snake game for my computer science class.