public void TakeTurn(IDice dice) { this._totalMoves++; int roll = dice.GetRoll(); Console.WriteLine($"{this.Name} has thrown a {roll}! Which direction would you like to move in, {this.Name}?"); var moveFunction = this.DetermineDirection(); moveFunction(roll); Console.WriteLine($"\n{this.Name} moves to position {this.Position}."); if (this.Position.HasCheese) { this._amountOfCheese++; Console.WriteLine($"{this.Name} has picked up some cheese! {this.Name} now has {this._amountOfCheese} bits of cheese."); } }