Beispiel #1
0
        private void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            tetrisGame.MoveBlock(e.KeyCode);

            if (!timer1.Enabled)
            {
                timer1.Start();
                tetrisGame.GetShape();
            }
        }