It is the first time I try to participate in a forum cause I am in great need...!
I have to deliver an exercise till Tuesday and I don't think I am going to make it...so I need your help.
We have been given a task to create the game "Battleship" using DevC++,without creating or downloading any great libraries.
(The game will be played in one computer for each team but vs players that run the same programm in their own computer).
This is how it should be:
*The programma should read a notepad(where there should be the ships that we use in form of a table with 10 columns and 10 lines-->file "Navy").
*Then it should ask the developer if he is taking the shot or firing.
-If he takes the shot then he should alter this table-notepad.If the enemy suceeds the shots must continue with the same way,if not it would be our turn to shoot.
-If we are shooting we should save the shooting co-ordinates somehow so if we suceed we will avoid hitting the same target again.
*The game ends if all ships are destroyed.
(Forgive my English,I need your help)
I will try to add here what my team and I have created...
Navy.txt
written.txt