From: rgl@antares-labs.eu
To: 9front@9front.org
Subject: Re: [9front] new game: battleship (aka sink the fleet)
Date: Sun, 10 Sep 2023 13:56:28 +0200 [thread overview]
Message-ID: <5B774009A36ED4733381C8DDEFF77710@antares-labs.eu> (raw)
In-Reply-To: <5D887833B5B0E7D21ECD1A7D9BF9D51D@antares-labs.eu>
hi there,
i've fixed some of the issues we talked about, namely:
- mk install failing due to a lack of manpages
- ships rotating when pressing mmb while moving the mouse
- using a custom queue for the players and polling instead of a csp
channel
also, amavect fixed the problem with the use-after-free of stack
variables and my yield(2) abuse.
here's the list of things that i'm going to work on next:
- a better conclusion procedure: this means getting rid of the 5s
sleep and waiting for the player to press (almost) any key to
continue. to do this right, the server shouldn't reschedule the
player immediately after a battle, but wait for the player to signal
their interest to keep playing; this will require radical changes in
the match-making and battle procs, since right now client messages are
only processed during a battle.
- spectator mode
- one of these three:
- NvM battles
- Salvo variation of the game (documented in battleship.pdf)
- a rudimentary AI
i'm thinking the AI could be offline, so there'd be no need to join a
server, or online, in which case the player should be able to opt-in
through a program flag or runtime menu. then instead of waiting for
another player to join, the server will automatically schedule an AI
battle.
feel free to share any relevant ideas or code. i'll keep you updated.
have a good weekend!
-rodri
next prev parent reply other threads:[~2023-09-10 12:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-02 15:19 rgl
2023-09-05 0:17 ` qwx
2023-09-05 10:34 ` rgl
2023-09-06 1:45 ` Amavect
2023-09-06 1:47 ` Stanley Lieber
2023-09-06 10:47 ` rgl
2023-09-06 11:37 ` sirjofri
2023-09-06 12:31 ` Sigrid Solveig Haflínudóttir
2023-09-06 10:38 ` rgl
2023-09-07 2:43 ` Amavect
2023-09-07 6:55 ` rgl
2023-09-10 11:56 ` rgl [this message]
2023-09-12 3:09 ` Amavect
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5B774009A36ED4733381C8DDEFF77710@antares-labs.eu \
--to=rgl@antares-labs.eu \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).