shithub: battleship

RSS feed

1540dd58 – rodri <rgl@antares-labs.eu> authored on 2024/11/07 16:23
bts: use buttons to select the game mode (removes -a option).

dbf2640b – rodri <rgl@antares-labs.eu> authored on 2024/11/07 16:03
btsd: tiny cleanup.

823f6143 – rodri <rgl@antares-labs.eu> authored on 2024/11/07 16:02
andy: remove useless return.

14f6cbeb – rodri <rgl@antares-labs.eu> authored on 2024/11/07 10:39
copy the assets into /sys/games/lib.

811630a8 – rodri <rgl@antares-labs.eu> authored on 2023/10/11 07:48
allow the user to disable sound. only spawn a new window when debugging.

dbfc9b6d – rodri <rgl@antares-labs.eu> authored on 2023/10/10 10:56
get rid of duplicate AudioSource init procedures.

ca3289c2 – rodri <rgl@antares-labs.eu> authored on 2023/10/09 17:01
replace the andy layout algorithm for a better one.

3d638eb8 – rodri <rgl@antares-labs.eu> authored on 2023/10/08 11:50
minor cleanup.

4a3c29c2 – rodri <rgl@antares-labs.eu> authored on 2023/10/08 11:24
make sure andys never stall while searching.

961c08f4 – rodri <rgl@antares-labs.eu> authored on 2023/10/08 06:50
wrote a real layout algorithm for the andys.

94fcdfff – rodri <rgl@antares-labs.eu> authored on 2023/10/07 19:17
only send a shot if the target cell is clear/unknown.

71c2cd61 – rodri <rgl@antares-labs.eu> authored on 2023/10/07 18:33
make cell2coords thread-safe.

c5ca6191 – rodri <rgl@antares-labs.eu> authored on 2023/10/07 17:45
tell the spectator who's playing the moment they join.

353cbde7 – rodri <rgl@antares-labs.eu> authored on 2023/10/07 13:17
use a better random source. fix a bug with andys generating oob cell coordinates.

f0c1d251 – rodri <rgl@antares-labs.eu> authored on 2023/10/07 03:34
remove debug prints.

bc5ac3d4 – rodri <rgl@antares-labs.eu> authored on 2023/10/06 12:31
initial implementation of an AI.

fb4b4cbf – rodri <rgl@antares-labs.eu> authored on 2023/10/02 09:09
get rid of unused wav structs from the mixer.

afdfefd3 – rodri <rgl@antares-labs.eu> authored on 2023/10/02 08:56
add more sfx and do some of their orchestration.

d7909884 – rodri <rgl@antares-labs.eu> authored on 2023/10/02 08:54
replaced the custom wav decoder for the general Pcm one using the audio(1) ones.

6389f8db – rodri <rgl@antares-labs.eu> authored on 2023/10/01 08:19
get the condition right.

a6de2522 – rodri <rgl@antares-labs.eu> authored on 2023/10/01 08:16
fixed a Menulist.update bug where it would return 0 when there were no entries.

44a3faf0 – rodri <rgl@antares-labs.eu> authored on 2023/09/30 20:18
add a credits file, acknowledging people. add another sfx.

b221c56a – rodri <rgl@antares-labs.eu> authored on 2023/09/30 20:06
add a mixer and some background sfx.

9c377e4f – rodri <rgl@antares-labs.eu> authored on 2023/09/29 15:36
send the matches list upon first connection. changed the syntax a bit.

ecee83f1 – rodri <rgl@antares-labs.eu> authored on 2023/09/29 11:15
paint the none entry in the middle of the row too.

2834b114 – rodri <rgl@antares-labs.eu> authored on 2023/09/28 13:18
added a border to the boards and corrected a bug when placing a ship.

786f41cb – rodri <rgl@antares-labs.eu> authored on 2023/09/28 12:13
got rid of static Image pointers in favor of a global color palette.

e06ad3c9 – rodri <rgl@antares-labs.eu> authored on 2023/09/27 13:42
updated How to play.

adf2deff – rodri <rgl@antares-labs.eu> authored on 2023/09/27 12:25
give more feedback about the current state of play to the spectator.

8760478c – rodri <rgl@antares-labs.eu> authored on 2023/09/27 11:59
implemented spectator mode.

05825e75 – rodri <rgl@antares-labs.eu> authored on 2023/09/26 14:39
initial work towards spectator mode.

2293ed78 – rodri <rgl@antares-labs.eu> authored on 2023/09/22 11:32
add parsecmd to the client. finish the menulist of matches.

497acdd8 – rodri <rgl@antares-labs.eu> authored on 2023/09/21 12:49
add parsecmd to the server.

33de2d04 – rodri <rgl@antares-labs.eu> authored on 2023/09/20 09:15
more work on the menulist of matches.

a9991651 – rodri <rgl@antares-labs.eu> authored on 2023/09/17 18:06
initial work on a menu of matches.

107b6625 – rodri <rgl@antares-labs.eu> authored on 2023/09/17 18:01
update readme file.

863724aa – rodri <rgl@antares-labs.eu> authored on 2023/09/16 19:01
renamed cmd to f(ields) to better reflect their nature.

05408750 – rodri <rgl@antares-labs.eu> authored on 2023/09/16 10:52
remove leftover msgq channel.

e59ffbe6 – rodri <rgl@antares-labs.eu> authored on 2023/09/15 19:06
don't send shots when the game is over. and freeze the cursor.

48fe28aa – rodri <rgl@antares-labs.eu> authored on 2023/09/15 18:15
fix mouse button handling.

651db54a – rodri <rgl@antares-labs.eu> authored on 2023/09/15 18:11
really allow any key to be pressed to continue.

b6bc5d9b – rodri <rgl@antares-labs.eu> authored on 2023/09/15 11:56
draw the game's title.

f3439246 – rodri <rgl@antares-labs.eu> authored on 2023/09/15 11:54
got rid of unnecessary operator process.

ed27475f – rodri <rgl@antares-labs.eu> authored on 2023/09/15 07:02
fit client to the new architecture. clean things up, make them more consistent.

ae96cfa1 – rodri <rgl@antares-labs.eu> authored on 2023/09/15 04:57
new server architecture.

118df45d – rodri <rgl@antares-labs.eu> authored on 2023/09/10 14:56
fixed game-breaking typo.

230cd15d – rodri <rgl@antares-labs.eu> authored on 2023/09/09 12:01
don't rotate the ship when moving the mouse while pressing mmb.

2d2fabb2 – rodri <rgl@antares-labs.eu> authored on 2023/09/09 11:45
made playerq a Channel, turned polling into send/recv points and got rid of the reaper.

3acb69a3 – rodri <rgl@antares-labs.eu> authored on 2023/09/08 10:28
wrote a manual.

ebbadfc6 – rodri <rgl@antares-labs.eu> authored on 2023/09/08 05:32
got rid of unused locking popplayer. use an fd for the threadgrp.

e29fc9d0 – Amavect <amavect@gmail.com> authored and rodri <rgl@antares-labs.eu> committed on 2023/09/06 22:38
inline spawned threads to threadmain.

2723bb6f – rodri <rgl@antares-labs.eu> authored on 2023/09/01 17:41
obtain each player's username and show it during battle.

a764a506 – rodri <rgl@antares-labs.eu> authored on 2023/09/01 08:44
make playerq a fifo instead of a lifo.

4f514003 – rodri <rgl@antares-labs.eu> authored on 2023/09/01 07:07
change mmb to rotate the ship without presenting a menu.

344e764a – rodri <rgl@antares-labs.eu> authored on 2023/08/31 16:36
correct patrolcursor not showing up after finishing a battle.

39d20fdc – rodri <rgl@antares-labs.eu> authored on 2023/08/31 10:44
show the board labels.

68cfdc52 – rodri <rgl@antares-labs.eu> authored on 2023/08/31 06:16
improved playerq locking.

be547a2d – rodri <rgl@antares-labs.eu> authored on 2023/08/30 18:07
forbid placing ships after being done with the layout.

3d93e42d – rodri <rgl@antares-labs.eu> authored on 2023/08/30 12:18
added new cursors and their switching.

e0c574f2 – rodri <rgl@antares-labs.eu> authored on 2023/08/30 07:47
change the cursor based on game state (waiting and playing).

b106a4c0 – rodri <rgl@antares-labs.eu> authored on 2023/08/29 18:13
implemented match conclusion logic and notification.

7104ef7c – rodri <rgl@antares-labs.eu> authored on 2023/08/29 10:42
reset the boards after each game.

6a555fb1 – rodri <rgl@antares-labs.eu> authored on 2023/08/29 06:48
removed unnecessary pointer.

fbea30a5 – rodri <rgl@antares-labs.eu> authored on 2023/08/29 06:19
major development stride:

d9752f97 – rodri <rgl@antares-labs.eu> authored on 2023/08/26 16:16
show the current state and keep ships from overlapping.

ca4af600 – rodri <rgl@antares-labs.eu> authored on 2023/08/25 17:53
implemented most of the layout code.

25e1b948 – rodri <rgl@antares-labs.eu> authored on 2023/08/24 17:07
minor ship placement clean up.

034cb668 – rodri <rgl@antares-labs.eu> authored on 2023/08/24 16:59
armada placement testing. wrote part of the client netcode.

c2782417 – rodri <rgl@antares-labs.eu> authored on 2023/08/24 10:04
fixed the match process cleanup procedure.

6226ca4a – rodri <rgl@antares-labs.eu> authored on 2023/08/24 10:01
wrote a readme.

2e921a4b – rodri <rgl@antares-labs.eu> authored on 2023/08/16 01:41
added the rules manual.

04c90470 – rodri <rgl@antares-labs.eu> authored on 2023/08/14 22:41
added ship drawing and placement procedures.

8285721a – rodri <rgl@antares-labs.eu> authored on 2023/08/12 01:35
latest try of player mgmt procedure. (not working)

7b76e746 – rodri <rgl@antares-labs.eu> authored on 2023/08/08 04:35
initial commit.