Commit Graph

6 Commits

Author SHA1 Message Date
raul 8cd45de78f Players can now properly input guesses 2024-03-15 13:06:00 +01:00
raul 0aad28a230 Added coordinate selection for main game 2024-03-14 11:26:41 +01:00
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