raul
666d4c18c5
Fixed win condition not applying properly
...
Players could only win if they bombed every single cell, now they
actually win when they manage to find every ship
2024-03-17 11:27:25 +01:00
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