Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.prolog > #14207

Autumn Challenge 2024: Numbrix Puzzle

From Mild Shock <janburse@fastmail.fm>
Newsgroups comp.lang.prolog
Subject Autumn Challenge 2024: Numbrix Puzzle
Date 2024-10-02 00:14 +0200
Message-ID <vdhs7n$1ivfk$1@solani.org> (permalink)

Show all headers | View raw


Hi,

A path inside a rectangular grid can be
encoded by numbering the cells so that
successive integers are in adjacent cells.

Example:

   3---2---1  20--21
   |           |   |
   4  17--18--19  22
   |   |           |
   5  16--15--14  23
   |           |   |
   6   9--10  13  24
   |   |   |   |   |
   7---8  11--12  25

Turn it into a so called Numbrix puzzle,
created by Marilyn vos Savant, in that
you reveal a few numbers, and

the solitaire player has find and fill
the remaining numbers. Similar approach
as in Sudoku, except the constaints are

different. Implement the following in Prolog:

a) A solver for Numbrix

b) A riddle generator for Numbrix

c) Some game play for Numbrix

Have Fun!

Back to comp.lang.prolog | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Autumn Challenge 2024: Numbrix Puzzle Mild Shock <janburse@fastmail.fm> - 2024-10-02 00:14 +0200
  Re: Autumn Challenge 2024: Numbrix Puzzle Mild Shock <janburse@fastmail.fm> - 2024-10-09 13:03 +0200
    Re: Autumn Challenge 2024: Numbrix Puzzle Mild Shock <janburse@fastmail.fm> - 2024-10-09 15:07 +0200

csiph-web