Esempio n. 1
0
        private static void ShipPositions(PlayerInfoModel player)
        {
            ConsoleMessages.PostionMessage(player);
            DisplayShotGrid(player);
            Console.WriteLine();
            Console.WriteLine();

            do
            {
                // Ask player ship-positions
                string shipSpot = DataRequests.AskPlayerShipSpot(player);

                // Store position
                GameLogic.AddShipToGrid(player, shipSpot);
            } while (player.PlayerShipSpot.Count < 5);
        }