forked from cfrantzidis/DungeonExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
40 lines (32 loc) · 1.01 KB
/
Copy pathProgram.cs
File metadata and controls
40 lines (32 loc) · 1.01 KB
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Media;
using System.Threading.Tasks;
using DungeonExplorer.Tests;
namespace DungeonExplorer
{
/// <summary>
/// The main entry point of the Dungeon Explorer game.
/// </summary>
internal class Program
{
//The main method that starts the game and runs the checks.
static void Main(string[] args)
{
//Running tests
DebugTests.StartTest();
// Getting username input from the user.
Console.Write("Please, enter your nickname: ");
string Name = Console.ReadLine();
// Creating a new instance of the Game class with the selected parameters.
Game game = new Game(Name);
// Starting the game.
game.Start();
Console.WriteLine("Waiting for your Implementation");
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
}
}