示例#1
0
 private void ShowScoreBlock()
 {
     Console.SetCursorPosition(this.width / 6, 0);
     ShowHorizontalBoardLine(this.width / 6, this.width - this.width / 6);
     Console.SetCursorPosition(this.width / 6, 1);
     ShowVerticalBoardLine(2, this.width / 6, this.width - this.width / 6 - 1);
     Console.SetCursorPosition(this.width / 6, 3);
     ShowHorizontalBoardLine(this.width / 6, this.width - this.width / 6);
     Console.SetCursorPosition(this.width / 2 - 2, 1);
     Console.Write("Score");
     Console.SetCursorPosition(this.width / 2 - 2, 2);
     Console.WriteLine(player.GetScore().ToString("000000") + "\n");
 }