aboutsummaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* implemented match conclusion logic and notification.rodri2023-08-291-0/+13
| | | | made the window un-resizable.
* reset the boards after each game.rodri2023-08-291-0/+16
| | | | | | only change turns if the shot was valid. show the opponent's hits on localboard. keep the orientation for consecutive ships while outlaying.
* major development stride:rodri2023-08-291-3/+46
| | | | | | - 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-0/+42
added a new util.c to host the cell/coordinate conversions. made the showproc a painter thread instead, to avoid problems with menuhit(2).