Esempio n. 1
0
        public void TakeTurn()
        {
            var dieRoll = _die.GetDieRoll();

            // move piece

            if (dieRoll == 6)
            {
                // special event, lots of fun game logic

                // oops, something went wrong!
                throw new Exception();
            }
        }