static string PlayerName1;
static string PlayerName2;
static int Player1PointsScored;
static int Player2PointsScored;
public static void Main()
while(GameIsOver() == false)
public static void SetScoresToZero()
public static void PrintCurrentScores()
public static bool GameIsOver()
public static void GetNextScore()
Console.WriteLine("Who scored mate? Enter A for " + PlayerName1 " or B for " + PlayerName2);
string whoscoredthepoint;
whoscoredthepoint = Console.ReadLine();
if (whoscoredthepoint == PlayerName1)
public static void GetPlayerNames()
Console.WriteLine("Player name 1:");
PlayerName1 = Console.ReadLine();
Console.WriteLine("Player name 2");
PlayerName2 = Console.ReadLine();