Commit Graph

13 Commits

Author SHA1 Message Date
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 b92ab38e8d Trying to get the server to work 2024-03-16 11:59:57 +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 6f23e5d7a6 Create main menu for the game 2024-03-12 12:16:33 +01:00
raul 55b99e0b2c Added matrix randomizer for ship generation 2024-03-12 12:14:06 +01:00
raul 3e8313b118 Adding utilities file
Gonna keep reusing these text scanning and screen clearing functions as
much as I can
2024-03-11 21:46:09 +01:00
raul 707556cb5a Updated README.md
I should probably remind that this isn't a finished project, still
working on it though!
2024-03-11 08:45:03 +01:00
raul fc50027b39 Preparing all basic files 2024-03-11 08:43:14 +01:00
raul 6b540e88c0 Initial commit 2024-03-11 08:35:09 +01:00