-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
44 lines (39 loc) · 1.39 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using chessgame.engine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace chessgame.console
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("============ Welcome to chessgame! ============");
Console.WriteLine("");
Console.WriteLine("The units of Player 1 are uppercase letters.");
Console.WriteLine("The units of Player 2 are lowercase letters.");
Console.WriteLine("Each character represents the following unit:");
Console.WriteLine(" R: Rook");
Console.WriteLine(" H: Horse");
Console.WriteLine(" B: Bishop");
Console.WriteLine(" Q: Queen");
Console.WriteLine(" K: King");
Console.WriteLine(" P: Pawn");
Console.WriteLine(" .: Nothing");
Console.WriteLine("");
Console.WriteLine("===============================================");
Console.WriteLine("");
while (true)
{
Board board = new Board();
board.InitializeGame();
Console.WriteLine(board);
Console.WriteLine("");
Console.Write("Player 1's turn. Move: ");
Console.ReadLine();
}
}
}
}