Battleship Project: This project is a fully playable Battleship game with 4 difficulties. The difficulties range from easy, to medium, to hard, to ultra, with a 5x5, a 7x7, a 10x10 and 13x13 playing field respectively. The game has a variety of ships and ship sizes depending on the chosen difficulty. The player is able to place their own ships in any way they want without problem and is playing against a pc who does the same. In order to simulate the ship placement of the actual Battleships game that was popularized with its 10x10 playing field, the PC places its ships in any direction and in any proximity to its own ships in order to confuse the player.
Compilation:
- "firstscreen.txt" is needed in order to print the startscreen and continue with the progression of the game
Execution:
- If all necessary files are in the same folder as the main.c then the program can be started
- User inputs expected:
- For loading profile or play as guest:
- Y or y
- N or n
- For profile loading/creation:
- C or c
- G or g
- any keys for naming or loading of specific profile
- For ships:
- Carrier 1x5: c
- Battleship 1x4: b
- Submarine 1x3: s
- Destroyer 1x2: d
- For coordinates:
- a,a; b,b; etc..
- For directions:
- 1, 2, 3, 4
- For loading profile or play as guest: