mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-03 00:30:36 -08:00
Finish game
This commit is contained in:
@@ -15,7 +15,7 @@ internal class Game
|
||||
|
||||
public void Play()
|
||||
{
|
||||
_io.Write(Resource.Title);
|
||||
_io.Write(Title);
|
||||
|
||||
var reign = SetUpReign();
|
||||
if (reign != null)
|
||||
@@ -29,7 +29,7 @@ internal class Game
|
||||
|
||||
private Reign? SetUpReign()
|
||||
{
|
||||
var response = _io.ReadString(Resource.InstructionsPrompt).ToUpper();
|
||||
var response = _io.ReadString(InstructionsPrompt).ToUpper();
|
||||
|
||||
if (response.Equals("Again", StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
@@ -38,7 +38,7 @@ internal class Game
|
||||
|
||||
if (!response.StartsWith("N", StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
_io.Write(Resource.InstructionsText(TermOfOffice));
|
||||
_io.Write(InstructionsText(TermOfOffice));
|
||||
}
|
||||
|
||||
_io.WriteLine();
|
||||
|
||||
Reference in New Issue
Block a user