Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bts: remove unnecessary anon struct. | rodri | 2024-11-11 | 1 | -30/+27 |
| | | | | | we no longer need to keep track of the game mode so a single var for state will do. | ||||
* | bts: poll matches automatically. | rodri | 2024-11-08 | 2 | -5/+27 |
| | | | | | | before, it was necessary for the user to press w every time they wanted to get the most recent list of matches, which is dumb. | ||||
* | mkfile: fix install rule. | rodri | 2024-11-07 | 1 | -4/+2 |
| | |||||
* | bts: use buttons to select the game mode (removes -a option). | rodri | 2024-11-07 | 2 | -20/+112 |
| | | | | | now pressing q in a screen other than the main one (Waiting0) forces a reconnection, effectively resetting the game. | ||||
* | btsd: tiny cleanup. | rodri | 2024-11-07 | 1 | -1/+1 |
| | |||||
* | andy: remove useless return. | rodri | 2024-11-07 | 1 | -1/+0 |
| | |||||
* | copy the assets into /sys/games/lib. | rodri | 2024-11-07 | 2 | -10/+23 |
| | |||||
* | allow the user to disable sound. only spawn a new window when debugging. | rodri | 2023-10-11 | 2 | -26/+45 |
| | |||||
* | get rid of duplicate AudioSource init procedures. | rodri | 2023-10-10 | 3 | -230/+172 |
| | | | | also changed the name of some of the mixer functions. | ||||
* | replace the andy layout algorithm for a better one. | rodri | 2023-10-09 | 2 | -30/+16 |
| | |||||
* | minor cleanup. | rodri | 2023-10-08 | 1 | -10/+3 |
| | |||||
* | make sure andys never stall while searching. | rodri | 2023-10-08 | 1 | -3/+31 |
| | |||||
* | wrote a real layout algorithm for the andys. | rodri | 2023-10-08 | 2 | -2/+60 |
| | |||||
* | only send a shot if the target cell is clear/unknown. | rodri | 2023-10-07 | 1 | -2/+4 |
| | |||||
* | make cell2coords thread-safe. | rodri | 2023-10-07 | 5 | -19/+22 |
| | |||||
* | tell the spectator who's playing the moment they join. | rodri | 2023-10-07 | 2 | -5/+5 |
| | |||||
* | use a better random source. fix a bug with andys generating oob cell ↵ | rodri | 2023-10-07 | 4 | -8/+33 |
| | | | | coordinates. | ||||
* | remove debug prints. | rodri | 2023-10-07 | 1 | -16/+4 |
| | |||||
* | initial implementation of an AI. | rodri | 2023-10-06 | 6 | -42/+336 |
| | | | | | | added different modes for those who want to play with others and those who prefer to play against a bot (-a flag). | ||||
* | get rid of unused wav structs from the mixer. | rodri | 2023-10-02 | 1 | -18/+0 |
| | |||||
* | add more sfx and do some of their orchestration. | rodri | 2023-10-02 | 5 | -11/+54 |
| | |||||
* | replaced the custom wav decoder for the general Pcm one using the audio(1) ones. | rodri | 2023-10-02 | 2 | -278/+90 |
| | |||||
* | get the condition right. | rodri | 2023-10-01 | 1 | -1/+1 |
| | |||||
* | fixed a Menulist.update bug where it would return 0 when there were no entries. | rodri | 2023-10-01 | 1 | -1/+7 |
| | |||||
* | add a credits file, acknowledging people. add another sfx. | rodri | 2023-10-01 | 3 | -1/+16 |
| | |||||
* | add a mixer and some background sfx. | rodri | 2023-10-01 | 9 | -10/+945 |
| | | | | | | | | also postponed the connection establishment until the subsystem initialization is complete. there's no point in taking a seat you're going to leave milliseconds after a local resource failure. | ||||
* | send the matches list upon first connection. changed the syntax a bit. | rodri | 2023-09-29 | 2 | -20/+34 |
| | |||||
* | paint the none entry in the middle of the row too. | rodri | 2023-09-29 | 1 | -1/+2 |
| | |||||
* | added a border to the boards and corrected a bug when placing a ship. | rodri | 2023-09-28 | 4 | -16/+23 |
| | | | | | | | | | the bug allowed the player to move the ship when the cursor was outside the board in the negative side of its rframe. by using floor(2) instead of a cast to int the problem is over. | ||||
* | got rid of static Image pointers in favor of a global color palette. | rodri | 2023-09-28 | 1 | -59/+59 |
| | |||||
* | updated How to play. | rodri | 2023-09-27 | 1 | -8/+13 |
| | |||||
* | give more feedback about the current state of play to the spectator. | rodri | 2023-09-27 | 1 | -3/+8 |
| | |||||
* | implemented spectator mode. | rodri | 2023-09-27 | 5 | -28/+135 |
| | |||||
* | initial work towards spectator mode. | rodri | 2023-09-26 | 5 | -5/+92 |
| | |||||
* | add parsecmd to the client. finish the menulist of matches. | rodri | 2023-09-22 | 2 | -60/+144 |
| | | | | | the menulist now supports scrolling. also changed some cursors and got to tidy up /^lmb\(. | ||||
* | add parsecmd to the server. | rodri | 2023-09-21 | 6 | -22/+182 |
| | | | | | | | modified it to allow for commands with the same name but different nargs. now each match list entry is preceded by an 'm', to simplify its processing. note that this breaks the client. the next commit will fix that. | ||||
* | more work on the menulist of matches. | rodri | 2023-09-20 | 7 | -92/+169 |
| | |||||
* | initial work on a menu of matches. | rodri | 2023-09-17 | 3 | -34/+134 |
| | | | | | also made some corrections and changed the tokenize(2) fields identifiers from cmd[] to f[]. | ||||
* | update readme file. | rodri | 2023-09-17 | 1 | -2/+2 |
| | |||||
* | renamed cmd to f(ields) to better reflect their nature. | rodri | 2023-09-16 | 1 | -29/+29 |
| | |||||
* | remove leftover msgq channel. | rodri | 2023-09-16 | 1 | -2/+0 |
| | |||||
* | 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 | 15 | -0/+29 |
| | |||||
* | got rid of unnecessary operator process. | rodri | 2023-09-15 | 1 | -60/+52 |
| | |||||
* | fit client to the new architecture. clean things up, make them more consistent. | rodri | 2023-09-15 | 3 | -60/+103 |
| | |||||
* | new server architecture. | rodri | 2023-09-15 | 5 | -174/+569 |
| | |||||
* | fixed game-breaking typo. | rodri | 2023-09-10 | 1 | -1/+1 |
| | |||||
* | don't rotate the ship when moving the mouse while pressing mmb. | rodri | 2023-09-09 | 1 | -2/+6 |
| |