From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10371 invoked from network); 10 Sep 2023 12:00:37 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 10 Sep 2023 12:00:37 -0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by 9front; Sun Sep 10 07:56:33 -0400 2023 Received: by mail.gandi.net (Postfix) with ESMTPSA id 400DE60002 for <9front@9front.org>; Sun, 10 Sep 2023 11:56:30 +0000 (UTC) Message-ID: <5B774009A36ED4733381C8DDEFF77710@antares-labs.eu> Date: Sun, 10 Sep 2023 13:56:28 +0200 From: rgl@antares-labs.eu To: 9front@9front.org In-Reply-To: <5D887833B5B0E7D21ECD1A7D9BF9D51D@antares-labs.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-GND-Sasl: rgl@antares-labs.eu List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: non-blocking converged NoSQL manager Subject: Re: [9front] new game: battleship (aka sink the fleet) Reply-To: 9front@9front.org Precedence: bulk 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