Question
BATTLESHIP GAME IN C LANGUAGE When the user runs the program, they shall be greeted with a short overview of the game and the rules
BATTLESHIP GAME IN C LANGUAGE
When the user runs the program, they shall be greeted with a short overview of the game and the rules (the rules should be simple enough to print out since you should have selected a simple game to implement).
Your game shall have a game loop where the user (player) is asked for their input and updated status/scores are shown. This updated status may take the form of a report or a "graphic"
The game shall end appropriately (with a good user interface), when the player has either won or lost the game.
Your program shall use structs (at least one) to keep your code clean and organized. For example, if you'd have several ships and they'd all need similar fields (like name of battleship, row, column position, length of battleship, etc).
Your program shall declare and utilize at least one array.
Your program shall declare and utilize at least one enum
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started