The arrow keys help the snake to maneuver in all directions. The snake has to eat the black block without touching the edge. If the snake touches the edge, the game is over then. As the snake keeps on eating the black block, the score and its length keep on increasing. For every block the snake eats, clone duration increases by 0.1(so that the lenght increases) and the score increases by 10