Beispiel #1
0
 private void StartGame()
 {
     this.grid = new SnakeGrid(nRow, nCol, width, height, snakeSize);
     foodTimer = initFoodTimer;
     timerMain.Start();
     timerFood.Start();
     start = DateTime.Now;
     grid.GenerateFood();
 }
Beispiel #2
0
 private void StartGame()
 {
     this.grid = new SnakeGrid(nRow, nCol, width, height, snakeSize);
     foodTimer = initFoodTimer;
     timerMain.Start();
     timerFood.Start();
     start = DateTime.Now;
     grid.GenerateFood();
 }