Click the flag and use the left and right arrow keys to navigate the snake. Don't crash into the edge or yourself.