Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | wrote a manual. | rodri | 2023-09-08 | 2 | -4/+68 | |
| | ||||||
* | 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 | 3 | -73/+46 | |
| | | | | | | | | 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 | 3 | -9/+35 | |
| | ||||||
* | make playerq a fifo instead of a lifo. | rodri | 2023-09-01 | 1 | -4/+10 | |
| | ||||||
* | change mmb to rotate the ship without presenting a menu. | rodri | 2023-09-01 | 2 | -50/+40 | |
| | ||||||
* | correct patrolcursor not showing up after finishing a battle. | rodri | 2023-08-31 | 1 | -3/+5 | |
| | ||||||
* | show the board labels. | rodri | 2023-08-31 | 1 | -0/+21 | |
| | ||||||
* | improved playerq locking. | rodri | 2023-08-31 | 3 | -20/+59 | |
| | | | | wrote a little how to play guide. | |||||
* | forbid placing ships after being done with the layout. | rodri | 2023-08-30 | 4 | -29/+66 | |
| | | | | | show the current ship and its length during placement. also made changes to some of the info banners. | |||||
* | added new cursors and their switching. | rodri | 2023-08-30 | 1 | -28/+71 | |
| | ||||||
* | change the cursor based on game state (waiting and playing). | rodri | 2023-08-30 | 1 | -9/+52 | |
| | ||||||
* | implemented match conclusion logic and notification. | rodri | 2023-08-29 | 4 | -8/+79 | |
| | | | | made the window un-resizable. | |||||
* | reset the boards after each game. | rodri | 2023-08-29 | 4 | -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. | rodri | 2023-08-29 | 2 | -12/+8 | |
| | ||||||
* | major development stride: | rodri | 2023-08-29 | 5 | -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. | rodri | 2023-08-26 | 1 | -9/+38 | |
| | ||||||
* | implemented most of the layout code. | rodri | 2023-08-25 | 5 | -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. | rodri | 2023-08-24 | 1 | -7/+12 | |
| | ||||||
* | armada placement testing. wrote part of the client netcode. | rodri | 2023-08-24 | 2 | -40/+104 | |
| | ||||||
* | fixed the match process cleanup procedure. | rodri | 2023-08-24 | 2 | -80/+65 | |
| | ||||||
* | wrote a readme. | rodri | 2023-08-24 | 1 | -0/+3 | |
| | ||||||
* | added the rules manual. | rodri | 2023-08-16 | 3 | -33/+67 | |
| | ||||||
* | added ship drawing and placement procedures. | rodri | 2023-08-15 | 2 | -19/+107 | |
| | ||||||
* | latest try of player mgmt procedure. (not working) | rodri | 2023-08-12 | 3 | -40/+314 | |
| | ||||||
* | initial commit. | rodri | 2023-08-08 | 7 | -0/+520 | |