Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more work on the menulist of matches. | rodri | 2023-09-20 | 1 | -81/+10 |
| | |||||
* | initial work on a menu of matches. | rodri | 2023-09-17 | 1 | -30/+107 |
| | | | | | also made some corrections and changed the tokenize(2) fields identifiers from cmd[] to f[]. | ||||
* | don't send shots when the game is over. and freeze the cursor. | rodri | 2023-09-15 | 1 | -2/+2 |
| | |||||
* | fix mouse button handling. | rodri | 2023-09-15 | 1 | -11/+11 |
| | |||||
* | really allow any key to be pressed to continue. | rodri | 2023-09-15 | 1 | -5/+7 |
| | |||||
* | draw the game's title. | rodri | 2023-09-15 | 1 | -0/+15 |
| | |||||
* | fit client to the new architecture. clean things up, make them more consistent. | rodri | 2023-09-15 | 1 | -59/+101 |
| | |||||
* | don't rotate the ship when moving the mouse while pressing mmb. | rodri | 2023-09-09 | 1 | -2/+6 |
| | |||||
* | inline spawned threads to threadmain. | Amavect | 2023-09-07 | 1 | -60/+42 |
| | | | | | | | | 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 | -2/+21 |
| | |||||
* | change mmb to rotate the ship without presenting a menu. | rodri | 2023-09-01 | 1 | -43/+34 |
| | |||||
* | 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 | 1 | -6/+5 |
| | | | | wrote a little how to play guide. | ||||
* | forbid placing ships after being done with the layout. | rodri | 2023-08-30 | 1 | -28/+44 |
| | | | | | 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 | 1 | -7/+56 |
| | | | | made the window un-resizable. | ||||
* | reset the boards after each game. | rodri | 2023-08-29 | 1 | -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. | rodri | 2023-08-29 | 1 | -6/+4 |
| | |||||
* | major development stride: | rodri | 2023-08-29 | 1 | -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. | rodri | 2023-08-26 | 1 | -9/+38 |
| | |||||
* | implemented most of the layout code. | rodri | 2023-08-25 | 1 | -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. | rodri | 2023-08-24 | 1 | -7/+12 |
| | |||||
* | armada placement testing. wrote part of the client netcode. | rodri | 2023-08-24 | 1 | -40/+97 |
| | |||||
* | added the rules manual. | rodri | 2023-08-16 | 1 | -1/+6 |
| | |||||
* | added ship drawing and placement procedures. | rodri | 2023-08-15 | 1 | -12/+93 |
| | |||||
* | latest try of player mgmt procedure. (not working) | rodri | 2023-08-12 | 1 | -11/+97 |
| | |||||
* | initial commit. | rodri | 2023-08-08 | 1 | -0/+315 |