QUESTION: You will write code of a “Battleship Game”. Rules: Create a game board 10x10 size with 2-dimensional array Game should be a single player. Your program will randomly place 7 ships on the game board, and player will try to hit all ships to finish the game. There will be 7 ships : 1 ship in size of 1x5 cells 1 ship in size of 1x4 cells 1 ship in size of 1x3 cells 2 ships in size of 1x2 cells 2 ships in size of 1x1 cells All ships should be placed on the board randomly. All ships can be placed on the board vertical or horizontal randomly. You need to print these at each stage : Print the game board At first all cells should be viewed as “*”. Also all unknown/hidden cells should be viewed as “ * ” at all stages. Hit cells should be viewed as “ O ” Missed cells should be viewed as “ X ” Display a menu 1-> Shoot (User enters a coordinate and hits) 2-> Shoot randomly (Random coordinate gets hit) 3-> Show ships (Shows all ships) 4-> New game (Restarts game and re positions all ships) 5-> Quit game (Quits program) At least these operations must be implemented as different functions : Placing ships Displaying game board Shooting (User and random) Users should get a score at the end of the game depending on successful hits.
20 los freelancers están ofertando un promedio de $311 para este trabajo.
Hello. Employer. I have read and understood the project. I'm interested this project. So, firstly I want to discuss with you about this project. Then I'll be happy. I wait for your good reply. Thanks.
Hi, I've got quite some experience with C and C++ and I'm sure I can finish this game in a couple of days. Hope to hear back from you over the chat :)
Hello, I'm studying software engineering, I've finished C courses ( basic and advanced ). I've actually done a battleship project a bit more complexed then yours. I can provide fast and good implemented algorithms.