private void Form1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Up) { game.PlayerMove(3); } if (e.KeyCode == Keys.Left) { game.PlayerMove(2); } if (e.KeyCode == Keys.Down) { game.PlayerMove(1); } if (e.KeyCode == Keys.Right) { game.PlayerMove(4); } }