aboutsummaryrefslogtreecommitdiff
path: root/bts.c
Commit message (Collapse)AuthorAgeFilesLines
* reset the boards after each game.rodri2023-08-291-7/+34
| | | | | | 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-291-6/+4
|
* major development stride:rodri2023-08-291-66/+96
| | | | | | - 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-251-40/+116
| | | | | | 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-241-40/+97
|
* added the rules manual.rodri2023-08-161-1/+6
|
* added ship drawing and placement procedures.rodri2023-08-151-12/+93
|
* latest try of player mgmt procedure. (not working)rodri2023-08-121-11/+97
|
* initial commit.rodri2023-08-081-0/+315