Question: Can you help with the develop a game on Python? See instructions below. Thank You. 8. Create a function to present the on-screen game board
Can you help with the develop a game on Python? See instructions below. Thank You.

8. Create a function to present the on-screen game board as follows: 1 2 3 7 9 10 Naval Battle (Part 1) A | . I - BI - I - 1 . Instructions: CI - I -I - 1 . 1. Create a new project in Visual Studio called: Task6_1_. DI - I - I - 1 . 2. Type the heading comments and the description of the program. 3. Develop a Python program that tells the user to enter the number of rows and columns with G I which you want the game board. Alternatives are 10x10. HI - | . I . I - I - I - I - I . 1. 4. You must validate the user input; if you select an incorrect alternative, it displays a message stating that the entry is incorrect and that you must select again. 1 . 5. Create an array using the number of rows and columns selected by the user. JI - I - 6. Create a function to initialize the array. In each position place a point (.) As the content, this KI . I - indicates that the position has not yet been played. 7. Create a function to calculate the position of each ship in the array. 9. The functions must be written in a separate module and must be imported into the initial You must create a second matrix where the coordinates of the ships are stored. program. a. Boats must be placed randomly. b. Boats must be placed horizontally or vertically. 10. Discuss the purpose of each function and the most important lines of code inside and outside the C. Boats should not be placed diagonally. functions d. You must place 3 ships that occupy 3 positions each
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
