Question
C language Design a battle ship game that uses if, loops, functions, arrays, structs, and enums. The game should include a function stub that prinst
C language Design a battle ship game that uses if, loops, functions, arrays, structs, and enums. The game should include a function stub that prinst a message indicating what it is supposed to do and/or it may send back a "hard coded" value that will at least let the program compile without errors and allow you to work on whichever functions you are trying to implement. The game can be single player or it can be a two player game (like tic tac toe where you expect two users to alternate, taking their turn to play the game). There are many simple card games, such as black jack that you could also implement. There are simple puzzles such as the Memory Puzzle or the Sliding Puzzle or Othello or Connect Four or Bejeweled or Tic-tac-toe. 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). The 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" (created by printing characters on the console similar to what we did with hangman). The game shall end appropriately (with a good user interface), when the player has either won or lost the game.
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