using System;
using System.Collections.Generic;
using System.Text;
namespace AceyDucey
{
///
/// The GameState class keeps track of all the game variables while the game is being played
///
internal class GameState
{
///
/// How much money does the player have at the moment?
///
internal int Money { get; set; }
///
/// What's the highest amount of money they had at any point in the game?
///
internal int MaxMoney { get; set; }
///
/// How many turns have they played?
///
internal int TurnCount { get; set; }
///
/// Class constructor -- initialise all values to their defaults.
///
internal GameState()
{
// Setting Money to 100 gives the player their starting balance. Changing this will alter how much they have to begin with.
Money = 100;
MaxMoney = Money;
TurnCount = 0;
}
}
}