Use the up, down, left and right arrow keys. Get as many points (fruit) as you can. You have 40 seconds.
My friend asked me to try to make the snake game and this was the closest thing I could make to it. I hope you like it, it took me a few hours to make this.