public void SpinRoulette() { _consoleWriter.WriteString("Spinning..."); _roulette.Spin(); string s = "Result: " + _roulette.GetResult(); _consoleWriter.WriteString(s); }
public void SpinRoulette() { if (_roundIsOpen) { throw new RouletteGameException("Spin roulette while round open for bets"); } _output.Report("Spinning..."); _roulette.Spin(); _output.Report($"Result: {_roulette.GetResult()}"); }
public void SpinRoulette() { Console.Write("Spinning..."); _roulette.Spin(); Console.WriteLine("Result: {0}", _roulette.GetResult()); }
public void spinRoulette() { rouletteNumber = roulette.Spin(); }
public void SpinRoulette() { _outputDevice.Render("Spinning..."); _roulette.Spin(); _outputDevice.Render("Result: {0}", _roulette.GetResult()); }
public void SpinRoulette() { Console.Write("Spinning..."); _roulette.Spin(_roulette.GenerateRandomNumber(0, 37)); Console.WriteLine("Result: {0}", _roulette.GetResult()); }