int score = 0; //score private void Form1_Paint(object sender, PaintEventArgs e) { paper = e.Graphics; food.drawfood(paper); snakes.drawSnake(paper); }