Use the arrow keys to turn the snake. It will automatically move forward in whatever direction it is facing. Your objective is to eat food, the brownish orangeish circle, which makes you grow longer. You can't bump into the walls or yourself.
Sorry, it does become very laggy after awhile. All art by me. All programing by me.