GNU bug report logs - #36867
26.2; gamegrid-add-scrore miss lower-is-better flag

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Rolf Ade <rolf@HIDDEN>; dated Wed, 31 Jul 2019 00:14:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Jul 2019 00:13:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 30 20:13:34 2019
Received: from localhost ([127.0.0.1]:51395 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hscFI-0002To-3B
	for submit <at> debbugs.gnu.org; Tue, 30 Jul 2019 20:13:34 -0400
Received: from lists.gnu.org ([209.51.188.17]:34062)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rolf@HIDDEN>) id 1hscFF-0002Tg-KQ
 for submit <at> debbugs.gnu.org; Tue, 30 Jul 2019 20:13:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:32987)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <rolf@HIDDEN>) id 1hscFE-0008S7-KV
 for bug-gnu-emacs@HIDDEN; Tue, 30 Jul 2019 20:13:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rolf@HIDDEN>) id 1hscFC-0003yZ-4H
 for bug-gnu-emacs@HIDDEN; Tue, 30 Jul 2019 20:13:27 -0400
Received: from mxout5.interscholz.de ([2a01:1e8:8:141::72]:37340)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rolf@HIDDEN>) id 1hscFB-0003v7-AD
 for bug-gnu-emacs@HIDDEN; Tue, 30 Jul 2019 20:13:26 -0400
Received: from localhost (mxout5 [127.0.0.1])
 by mxout5.interscholz.de (Postfix) with ESMTP id 7B7B525D89
 for <bug-gnu-emacs@HIDDEN>; Wed, 31 Jul 2019 02:13:13 +0200 (CEST)
X-Virus-Scanned: interscholz amavisd-new at mxout5.interscholz.de
Received: from server.web01.interscholz.net (server.web01.interscholz.net
 [85.236.196.138])
 by mxout5.interscholz.de (Postfix) with ESMTP id AB0EB25CC3
 for <bug-gnu-emacs@HIDDEN>; Wed, 31 Jul 2019 02:13:11 +0200 (CEST)
Received: from pointsman2 (p5B317A9C.dip0.t-ipconnect.de [91.49.122.156])
 by server.web01.interscholz.net (Postfix) with ESMTPSA id 729B1340371;
 Wed, 31 Jul 2019 02:13:18 +0200 (CEST)
From: Rolf Ade <rolf@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.2; gamegrid-add-scrore miss lower-is-better flag
Date: Wed, 31 Jul 2019 02:13:18 +0200
Message-ID: <87a7cvukm9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a01:1e8:8:141::72
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


The function gamegrid-add-scrore is handy for games developer; they get
a high-score management system with one call. That includes a threshold
for the number of entries in the high-score file.

A consequence of that is, that an entry has be removed from the list if
a new, better one must be inserted. In this situation,
gamegrid-add-scrore currently always removes the "lowest" result.

This is good and well for "more is better" games. But is wrong for
"faster is better" games. An example:
https://github.com/calancha/Minesweeper

This feature omission is on lisp level. The in the emacs sources
included tool update-game-score (which is used by gamegrid, if it is
available) support reverse opperation.




Acknowledgement sent to Rolf Ade <rolf@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#36867; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 21 Aug 2019 02:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.