Ali Baba and the Forty Thieves

For fans of all other kinds of logic puzzles

Re: King Ali Baba and the Forty Thieves

Postby tarek » Sun Jun 14, 2020 3:10 pm

Played with the concept a bit …

This shows a path that "King Ali Baba" would use to return to his starting position.

The Courtyard now has boundaries that are not joined

King Alibaba moves 1 tile in any direction to an unoccupied tile. He can also Hop in any direction over a single jar into an unoccupied tile. He can't hop unless there is an obstacle to jump over.

Image

Essentially: King movements (1 Sq in any direction) and Ali Baba movements (2 sq in any direction) but only over obstacles

Tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Ali Baba and the Forty Thieves

Postby tarek » Sun Jun 14, 2020 5:05 pm

m_b_metcalf wrote:
Code: Select all
  30   .   .   .  24   .   .   .   .   .   .
  JJ  JJ   .  JJ  JJ   .   .   .   8   .   .
   .   .  32  JJ  JJ   .  JJ  JJ   .  JJ  JJ
  JJ  JJ   .   .   .   .  JJ  JJ   .   .   .
   .   .  JJ   .  JJ   .  18  59   .  JJ  JJ
  81   .  JJ   .  JJ  42  JJ   .  JJ   .   1
   .   .  JJ   .  JJ  57  19   .   .  JJ  JJ
  JJ  JJ   .   .   .   .  JJ  JJ   .   .   .
   .   .  37  JJ  JJ   .  JJ  JJ   .  JJ  JJ
  JJ  JJ   .  JJ  JJ  70   .   .   3   .   .
   .   .   .   .   .   .   .  62   .   .   .  only 15 numbered tiles, based on V2

Here is a 13 clue puzzle based on V3:
Code: Select all
XXX XXX ... XXX XXX ... XXX XXX ... XXX XXX
XXX ... 061 ... ... XXX 039 ... ... ... XXX
XXX ... ... 027 018 ... ... ... ... ... XXX
... XXX 055 ... ... ... 041 ... ... XXX ...
... XXX ... ... XXX XXX XXX ... ... XXX ...
... ... ... 081 ... 002 ... ... ... ... ...
... XXX ... ... XXX XXX XXX ... ... XXX ...
... XXX ... ... 013 ... ... ... 022 XXX ...
XXX ... 063 ... ... ... 036 ... ... ... XXX
XXX ... ... ... 045 XXX ... ... ... ... XXX
XXX XXX ... XXX XXX ... XXX XXX ... XXX XXX
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Sinbad

Postby tarek » Wed Jun 17, 2020 6:16 pm

StrmCkr wrote:A new piece for you to play with

Sin bad the sailor moves in an arc path

Up down left or right

Code: Select all
x
.x
x


All xs must be clear to make the move.
Sinbads path starts and end at home as all his advetures cover the 7 seas but he retuns home. For all of them

From a chess piece point of view, you are describing a stepper which moves from start square in a pre-defined single steps without jumping. It therefore requires a pass-through space along the path to destination. The Mao is a famous such stepper that moves by moving one orthogonal space followed by one diagonal space (in that sequence) achieving ultimately what the Knight chess piece can achieve in a single jump. If there is an obstacle in that orthogonal space then the Mao can't move as it doesn't jump.

Your chess piece moves one space diagonally followed by another diagonal move to achieve what the Dabbaba chess piece would achieve in a single jump which is to reach 2 spaces orthogonally away.

I'll create this chess piece & will call it Sinbad as you suggested!

I was working on hexagonal which has many arc moves without moving diagonally but that is another story!

I'll post something when it's ready!

tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Ali Baba and the Forty Thieves

Postby StrmCkr » Wed Jun 17, 2020 10:10 pm

Thanks, i made in spirit of sailing which always tacts the wind on angles to move straight and a famous sailor from
Legendary stories is Sinbad so i figured it be suitable :)

Images for icon ideas
https://www.pinterest.ca/pin/849210073461192027/
Some do, some teach, the rest look it up.
stormdoku
User avatar
StrmCkr
 
Posts: 1432
Joined: 05 September 2006

Re: Ali Baba and the Forty Thieves

Postby tarek » Sun Jun 21, 2020 12:53 pm

StrmCkr wrote:Thanks, i made in spirit of sailing which always tacts the wind on angles to move straight and a famous sailor from
Legendary stories is Sinbad so i figured it be suitable :)

Images for icon ideas
https://www.pinterest.ca/pin/849210073461192027/

Here you go! There is a small explanatory post above it. with the arrangements of the Blocked cells, it is not difficult to see where the last space is :idea:

http://forum.enjoysudoku.com/fairy-chess-piece-tour-puzzles-including-numbrix-hidato-t30443-75.html#p291993

tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Ali Baba and the Forty Thieves

Postby StrmCkr » Sun Jun 28, 2020 3:34 am

thanks, manually solved it first then modified my escape code and ran sinbad through it for 1 solution verified
updated my post for it


only thing I would do differently is the closed tour version as sinbad always returns to port.
other then that its exactly what i had in mind when i came up with the piece :) even the x's as rocks/reefs was along the same line of thinking GJ bringing him to life.
Some do, some teach, the rest look it up.
stormdoku
User avatar
StrmCkr
 
Posts: 1432
Joined: 05 September 2006

Re: Sinbad

Postby tarek » Sun Jun 28, 2020 7:18 am

StrmCkr wrote:only thing I would do differently is the closed tour version as sinbad always returns to port.
other then that its exactly what i had in mind when i came up with the piece :) even the x's as rocks/reefs was along the same line of thinking GJ bringing him to life.
Great ... The whole theme worked very well. From a thematic presentation POV, I have now Ali Baba with the jars, Sinbad with the rocks, and Squirrel with acorns :lol:

More puzzles coming in the future

tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Ali Baba and the Forty Thieves

Postby m_b_metcalf » Wed Jul 01, 2020 7:55 pm

tarek wrote:Here is a 13 clue puzzle based on V3:
Code: Select all
XXX XXX ... XXX XXX ... XXX XXX ... XXX XXX
XXX ... 061 ... ... XXX 039 ... ... ... XXX
XXX ... ... 027 018 ... ... ... ... ... XXX
... XXX 055 ... ... ... 041 ... ... XXX ...
... XXX ... ... XXX XXX XXX ... ... XXX ...
... ... ... 081 ... 002 ... ... ... ... ...
... XXX ... ... XXX XXX XXX ... ... XXX ...
... XXX ... ... 013 ... ... ... 022 XXX ...
XXX ... 063 ... ... ... 036 ... ... ... XXX
XXX ... ... ... 045 XXX ... ... ... ... XXX
XXX XXX ... XXX XXX ... XXX XXX ... XXX XXX

Yes, thanks, but I see no tile numbered 001!?
User avatar
m_b_metcalf
2017 Supporter
 
Posts: 13631
Joined: 15 May 2006
Location: Berlin

Re: Ali Baba and the Forty Thieves

Postby m_b_metcalf » Thu Jul 02, 2020 7:29 am

m_b_metcalf wrote:
tarek wrote:Here is a 13 clue puzzle based on V3:
Code: Select all
XXX XXX ... XXX XXX ... XXX XXX ... XXX XXX
XXX ... 061 ... ... XXX 039 ... ... ... XXX
XXX ... ... 027 018 ... ... ... ... ... XXX
... XXX 055 ... ... ... 041 ... ... XXX ...
... XXX ... ... XXX XXX XXX ... ... XXX ...
... ... ... 081 ... 002 ... ... ... ... ...
... XXX ... ... XXX XXX XXX ... ... XXX ...
... XXX ... ... 013 ... ... ... 022 XXX ...
XXX ... 063 ... ... ... 036 ... ... ... XXX
XXX ... ... ... 045 XXX ... ... ... ... XXX
XXX XXX ... XXX XXX ... XXX XXX ... XXX XXX

Yes, thanks, but I see no tile numbered 001!?

Making the most likely guess, I find a unique solution. It takes 5s to find it, but 158s to verify uniqueness. But now it's a 14-clue puzzle.

Regards,

Mike
Hidden Text: Show
Code: Select all
 step  13  solns  1
  99  99  15  99  99  26  99  99  20  99  99
  99   8  61   7  60  99  39  79  40  53  99
  99  30  16  27  18  28  19  69  32  68  99
  54  99  55   6  59  80  41  52  11  99   9
  67  99  17  29  99  99  99  70  33  99  31
  56   5  57  81  58   2  12   1  42  51  10
  66  99  65  75  99  99  99  71  35  99  34
  47  99  46   4  13   3  43  50  22  99  23
  99  76  63  77  64  74  36  73  37  72  99
  99  24  14  25  45  99  44  49  21  48  99
  99  99  62  99  99  78  99  99  38  99  99
 Solved in  5.437500 s.
User avatar
m_b_metcalf
2017 Supporter
 
Posts: 13631
Joined: 15 May 2006
Location: Berlin

Re: Ali Baba and the Forty Thieves

Postby 1to9only » Thu Jul 02, 2020 8:50 am

In Puzzle V4, Ali Baba started and finished on the same tile. Maybe this is also so for the 13 clue puzzle based on V3.
User avatar
1to9only
 
Posts: 4177
Joined: 04 April 2018

Re: Ali Baba and the Forty Thieves

Postby m_b_metcalf » Thu Jul 02, 2020 10:35 am

1to9only wrote:In Puzzle V4, Ali Baba started and finished on the same tile. Maybe this is also so for the 13 clue puzzle based on V3.

But would require (see previous discussion) the last tile to be numbered 82. Mike
User avatar
m_b_metcalf
2017 Supporter
 
Posts: 13631
Joined: 15 May 2006
Location: Berlin

Re: Ali Baba and the Forty Thieves

Postby tarek » Thu Jul 02, 2020 12:55 pm

Starting tile is always 1 end tile has an ordinal equal to the number of total spaces (available tiles) ...

It is your programing option to consider tile 1 as tile (total spaces +1) in a closed tour. I would normally specify if the tour is closed. The last puzzle was a machine exercise to produce a minimal puzzle. On some occasions tile 1 and indeed the last tile presence are redundant so your program in these circumstances should be able to get them.

tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Ali Baba and the Forty Thieves

Postby m_b_metcalf » Thu Jul 02, 2020 1:55 pm

tarek wrote: On some occasions tile 1 and indeed the last tile presence are redundant so your program in these circumstances should be able to get them.

I think I got my guess right. Problem solved (see previous post).
User avatar
m_b_metcalf
2017 Supporter
 
Posts: 13631
Joined: 15 May 2006
Location: Berlin

Previous

Return to Other logic puzzles

cron