Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fit client to the new architecture. clean things up, make them more consistent. | rodri | 2023-09-15 | 1 | -0/+2 |
| | |||||
* | new server architecture. | rodri | 2023-09-15 | 1 | -160/+502 |
| | |||||
* | fixed game-breaking typo. | rodri | 2023-09-10 | 1 | -1/+1 |
| | |||||
* | made playerq a Channel, turned polling into send/recv points and got rid of ↵ | rodri | 2023-09-09 | 1 | -81/+37 |
| | | | | the reaper. | ||||
* | got rid of unused locking popplayer. use an fd for the threadgrp. | rodri | 2023-09-08 | 1 | -21/+4 |
| | |||||
* | inline spawned threads to threadmain. | Amavect | 2023-09-07 | 1 | -6/+4 |
| | | | | | | | | Pointers to automatic variables become invalid when threadmain exits. Solution is to reuse threadmain. Use nbsend to avoid deadlock to the draw channel. Input struct is no longer needed, inline it. | ||||
* | obtain each player's username and show it during battle. | rodri | 2023-09-01 | 1 | -7/+13 |
| | |||||
* | make playerq a fifo instead of a lifo. | rodri | 2023-09-01 | 1 | -4/+10 |
| | |||||
* | improved playerq locking. | rodri | 2023-08-31 | 1 | -14/+27 |
| | | | | wrote a little how to play guide. | ||||
* | forbid placing ships after being done with the layout. | rodri | 2023-08-30 | 1 | -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. | rodri | 2023-08-29 | 1 | -1/+9 |
| | | | | made the window un-resizable. | ||||
* | reset the boards after each game. | rodri | 2023-08-29 | 1 | -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. | rodri | 2023-08-29 | 1 | -6/+4 |
| | |||||
* | major development stride: | rodri | 2023-08-29 | 1 | -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. | rodri | 2023-08-25 | 1 | -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. | rodri | 2023-08-24 | 1 | -76/+62 |
| | |||||
* | added the rules manual. | rodri | 2023-08-16 | 1 | -32/+61 |
| | |||||
* | latest try of player mgmt procedure. (not working) | rodri | 2023-08-12 | 1 | -29/+178 |
| | |||||
* | initial commit. | rodri | 2023-08-08 | 1 | -0/+98 |