aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* change the cursor based on game state (waiting and playing).rodri2023-08-301-9/+52
|
* implemented match conclusion logic and notification.rodri2023-08-294-8/+79
| | | | made the window un-resizable.
* reset the boards after each game.rodri2023-08-294-14/+68
| | | | | | only change turns if the shot was valid. show the opponent's hits on localboard. keep the orientation for consecutive ships while outlaying.
* removed unnecessary pointer.rodri2023-08-292-12/+8
|
* major development stride:rodri2023-08-295-103/+254
| | | | | | - implemented per-line msg framing - wrote most of the game logic - fixed an issue where the ship would go off-board when rotated
* show the current state and keep ships from overlapping.rodri2023-08-261-9/+38
|
* implemented most of the layout code.rodri2023-08-255-41/+166
| | | | | | added a new util.c to host the cell/coordinate conversions. made the showproc a painter thread instead, to avoid problems with menuhit(2).
* minor ship placement clean up.rodri2023-08-241-7/+12
|
* armada placement testing. wrote part of the client netcode.rodri2023-08-242-40/+104
|
* fixed the match process cleanup procedure.rodri2023-08-242-80/+65
|
* wrote a readme.rodri2023-08-241-0/+3
|
* added the rules manual.rodri2023-08-163-33/+67
|
* added ship drawing and placement procedures.rodri2023-08-152-19/+107
|
* latest try of player mgmt procedure. (not working)rodri2023-08-123-40/+314
|
* initial commit.rodri2023-08-087-0/+520