Commit Graph

4 Commits

Author SHA1 Message Date
raul 860b50dd59 Added ability to choose size of ship board
Also reordered the code and sent all comments to the bottom so they
woudln't bother me
2024-03-14 11:11:33 +01:00
raul c1a84a47d5 Separate hidden and revealed matrices
Definitely been struggling with this for a while, I need to keep a
matrix with all the ships and one with nothing so I can slowly change
the hidden one until a comparison with the real one yields true,
signifying the end of the game.
2024-03-13 15:15:49 +01:00
raul f8ecbd2038 Create matrix and generate ships for player 1 2024-03-12 12:44:15 +01:00
raul 55b99e0b2c Added matrix randomizer for ship generation 2024-03-12 12:14:06 +01:00