add 00_Alternate_Langage folder and move alternate ports there

This commit is contained in:
Jeff Atwood
2022-03-15 20:49:07 -07:00
parent a0931700e9
commit 43f2ec013a
1789 changed files with 85900 additions and 446 deletions

View File

@@ -0,0 +1,27 @@
using System;
using Tower.Resources;
using Tower.UI;
namespace Tower
{
class Program
{
static void Main(string[] args)
{
Console.Write(Strings.Title);
do
{
Console.Write(Strings.Intro);
if (!Input.TryReadNumber(Prompt.DiskCount, out var diskCount)) { return; }
var game = new Game(diskCount);
if (!game.Play()) { return; }
} while (Input.ReadYesNo(Strings.PlayAgainPrompt, Strings.YesNoPrompt));
Console.Write(Strings.Thanks);
}
}
}