Exemplo n.º 1
0
        public override void Edit(GoGame game, byte x, byte y)
        {
            var stone = new Stone(x, y, true);

            stone.IsBlack = game.BlackToPlay();
            if (game.CanPlace(stone))
            {
                if (!game.Continue(stone))
                {
                    game.PlaceStone(stone);
                }
                SoundUtils.Play("Stone");
            }
        }