simon-git: puzzles (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Apr 26 18:10:32 BST 2021


TL;DR:
  f2f39af Mosaic: use signed char for clue values.
  091bef1 Mosaic: implement game_status.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2021-04-26 18:10:32

commit f2f39af2d3ca27ee9aa2e284896efa07f5df5f02
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=f2f39af2d3ca27ee9aa2e284896efa07f5df5f02;hp=2409a9913e1b3972ff4ef3b4ab377ace9b5d4ef7
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Apr 26 17:59:22 2021 +0100

    Mosaic: use signed char for clue values.
    
    Negative numbers are used as a sentinel for an absent clue, so we have
    to use a type that's guaranteed to have some negative numbers. char is
    unsigned on some platforms. So now Mosaic runs apparently correctly on
    Raspbian, for example.

 mosaic.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 091bef1a8264b677d711f2de1e765035d3d0e3c5
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=091bef1a8264b677d711f2de1e765035d3d0e3c5;hp=f2f39af2d3ca27ee9aa2e284896efa07f5df5f02
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Apr 26 17:59:22 2021 +0100

    Mosaic: implement game_status.

 mosaic.c | 2 ++
 1 file changed, 2 insertions(+)



More information about the tartarus-commits mailing list