// Game Environment & Loop // private void MainGame(Object sender, KeyPressEventArgs e) { if (Snake.Alive == false) { gameTimer.Stop(); return; } switch (e.KeyChar) { case 'w': Snake.Direction("up"); break; case 's': Snake.Direction("down"); break; case 'a': Snake.Direction("left"); break; case 'd': Snake.Direction("right"); break; } Snake.Update(); //label1.Text = Snake.Info(); }