On Tue, 2017-12-26 at 15:42 +0000, Adam Bower wrote:
On Mon, Dec 25, 2017 at 09:29:54PM +0000, Ted Harding wrote:
But since I have seen no documentation which tells how many points you score for more than 14 counters, and have not seen any description which describes how the score is calculated from "Number of objects".
Does anyone know, or can find out?
You can browser the source code via the web, the bit of source code you want is:
https://git.gnome.org/browse/five-or-more/tree/src/five-or-more.c
lines 134 defines the static counter scores and line 872 onwards contains the function that looks most applicable to what you want to know, with line 883 looking like the algorithm that calculates scores for scores higher than 14 counters. The only problem is that I don't really understand C all that well and have had a bit too much Christmas spirit to try and work it out right now.
Thanks Adam
Many thanks, Adam! That looks like exactly what I've been groping for!
As a seasonal comment (in the light of your enjoyment of the Christmas spirit): In Scotland, of course, Christmas is less important, and less festive, than New Year. Starting with Hogmanay (New Year's Eve), when people walk their local streets bearing bottles and visiting friends (who will have bottles in-house -- and the "First Footer" has the greatest choice amongst these), they celebrate all night and, following some repose, start to celebrate again on New Year's Day itself (which again may continue well into the night).
Uniquely within the UK, as well as New Year's Day being a public holiday (like everywhere else), so also is the next day, 2nd January, named "Hangover Day".
Best wishes to all, Ted.