Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var player = new Player
            {
                Name       = "Galym",
                Field      = new int[10, 10],
                EnemyField = new int[10, 10],
                Ships      = new List <IShip>()
            };
            var field = new FieldService();

            field.RandomArrangement(player);
            field.ShowPlayer(player);
            field.ControlCursor();
            Console.ReadKey();
        }