aboutsummaryrefslogtreecommitdiff
path: root/btsd.c
Commit message (Collapse)AuthorAgeFilesLines
* make playerq a fifo instead of a lifo.rodri2023-09-011-4/+10
|
* improved playerq locking.rodri2023-08-311-14/+27
| | | | wrote a little how to play guide.
* forbid placing ships after being done with the layout.rodri2023-08-301-0/+4
| | | | | show the current ship and its length during placement. also made changes to some of the info banners.
* implemented match conclusion logic and notification.rodri2023-08-291-1/+9
| | | | made the window un-resizable.
* reset the boards after each game.rodri2023-08-291-7/+17
| | | | | | 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-33/+94
| | | | | | - implemented per-line msg framing - wrote most of the game logic - fixed an issue where the ship would go off-board when rotated
* implemented most of the layout code.rodri2023-08-251-1/+1
| | | | | | added a new util.c to host the cell/coordinate conversions. made the showproc a painter thread instead, to avoid problems with menuhit(2).
* fixed the match process cleanup procedure.rodri2023-08-241-76/+62
|
* added the rules manual.rodri2023-08-161-32/+61
|
* latest try of player mgmt procedure. (not working)rodri2023-08-121-29/+178
|
* initial commit.rodri2023-08-081-0/+98