Newer
Older
using System;
using Controller;
using Mastermind;
namespace Program
{
class Program
{
static void Main()
{
Console.WriteLine("\n███╗ ███╗ █████╗ ███████╗████████╗███████╗██████╗ ███╗ ███╗██╗███╗ ██╗██████╗");
Console.WriteLine("████╗ ████║██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗████╗ ████║██║████╗ ██║██╔══██╗");
Console.WriteLine("██╔████╔██║███████║███████╗ ██║ █████╗ ██████╔╝██╔████╔██║██║██╔██╗ ██║██║ ██║");
Console.WriteLine("██║╚██╔╝██║██╔══██║╚════██║ ██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║██║██║╚██╗██║██║ ██║");
Console.WriteLine("██║ ╚═╝ ██║██║ ██║███████║ ██║ ███████╗██║ ██║██║ ╚═╝ ██║██║██║ ╚████║██████╔╝");
Console.WriteLine("╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═════╝");
Console.WriteLine("\nBitte wählen Sie aus:");
Console.WriteLine("[S]tart Game");
Console.WriteLine("[T]utorial");
Console.WriteLine("[Q]uit");
bool checkMenu = false;
do
switch (Console.ReadLine().ToLower())
{
case "s":
Console.WriteLine("Starting Game ...");
MastermindController controller = new MastermindController();
controller.Play();
checkMenu = true;
break;
case "t":
Tutorial tutorial = new Tutorial();
tutorial.TutorialGame();
break;
case "q":
Environment.Exit(0);
break;
default:
Console.WriteLine("Please pick a valid Option.");
break;