Removed spaces from top-level directory names.

Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
This commit is contained in:
Chris Reuter
2021-11-21 18:30:21 -05:00
parent df2e7426eb
commit d26dbf036a
1725 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
namespace Game
{
class Program
{
static void Main()
{
View.ShowBanner();
View.ShowInstructions();
var computerForces = new ArmedForces { Army = 30000, Navy = 20000, AirForce = 22000 };
var playerForces = Controller.GetInitialForces(computerForces);
var state = (WarState) new InitialCampaign(computerForces, playerForces);
var isFirstTurn = true;
while (!state.FinalOutcome.HasValue)
{
var branch = Controller.GetAttackBranch(state, isFirstTurn);
var attackSize = Controller.GetAttackSize(state.PlayerForces[branch]);
var (nextState, message) = state.LaunchAttack(branch, attackSize);
View.ShowMessage(message);
state = nextState;
isFirstTurn = false;
}
View.ShowResult(state);
}
}
}