Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions