示例#1
0
 public static void Update(Object source, ElapsedEventArgs e)
 {
     Console.Clear();
     ScoreBoard.Print();
     Board.Print();
     Board.CheckCollision();
     updated(e);
 }
示例#2
0
文件: Manager.cs 项目: weiserh/snake
 public void RunGame()
 {
     do
     {
         board.Print();
         System.Threading.Thread.Sleep(100);
     }while (NextStep());
 }