Welcome, Guest. Please Login or Register.
Nov 23rd, 2024, 8:14am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Mining for puzzles »


   Arimaa Forum
   Arimaa
   General Discussion
(Moderator: supersamu)
   Mining for puzzles
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Mining for puzzles  (Read 1066 times)
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Mining for puzzles
« on: Mar 3rd, 2010, 4:45pm »
Quote Quote Modify Modify

I ran Bomb on the last 10 moves of all the games up to id=14908 and if Bomb reported that it saw a forced win, I saved the game number, move number and various other info about the game to a file.  
 
I made this page to try and find good win in two puzzles:
 
http://arimaa.com/arimaa/puzzles/auto/list2.cgi
 
at the bottom of the page is some options for searching through the puzzles.
 
Many of these are not very interesting or hard to solve, but I'm sure some puzzles in there are gems.
 
Trying to find good puzzles from this is still pretty tedious. I was wondering if anyone has any ideas on how to automate finding puzzles that would be interesting for humans. Maybe knowing what makes a puzzle/position interesting/difficult for humans might even be helpful to bot developers.
 
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Mining for puzzles
« Reply #1 on: Mar 3rd, 2010, 5:39pm »
Quote Quote Modify Modify

For example this is very easy to figure out:  
http://arimaa.com/arimaa/puzzles/auto/showPuz.cgi?g=13454&m=40w& w=2&s=rf7n+Ef6n+Rg5e+Rh5n
 
While this one looks like it should be easy is much harder:
http://arimaa.com/arimaa/puzzles/auto/showPuz.cgi?g=13492&m=44w& w=2&s=dg7w+Mg6n+Rg4n+Ed6e
 
IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: Mining for puzzles
« Reply #2 on: Mar 3rd, 2010, 7:37pm »
Quote Quote Modify Modify

One thing that makes a puzzle good is if there is only one solution.
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Mining for puzzles
« Reply #3 on: Mar 3rd, 2010, 7:42pm »
Quote Quote Modify Modify

I haven't thought about it much, but maybe goal puzzles are harder when the winning move isn't mostly rabbit steps.  I would be bored with a "goal in two" if the first move was just to push a rabbit forward.
 
Is there are particular reason you are mining for puzzles at the moment?
« Last Edit: Mar 3rd, 2010, 7:43pm by Fritzlein » IP Logged

Hirocon
Forum Senior Member
****



Arimaa player #4359

   


Gender: male
Posts: 33
Re: Mining for puzzles
« Reply #4 on: Mar 3rd, 2010, 9:05pm »
Quote Quote Modify Modify

I think puzzles will probably be harder if there are multiple goal threats, but only one forced goal move.  Look for puzzles with unique solutions with most of the pieces still on the board and with multiple advanced rabbits for the player to move.
IP Logged

Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Mining for puzzles
« Reply #5 on: Mar 4th, 2010, 12:23pm »
Quote Quote Modify Modify

I looked at several ones and I like these
http://arimaa.com/arimaa/puzzles/auto/showPuz.cgi?g=154&m=29b&w= 2&s=eb5s+mf2w+me2w+ra3e
http://arimaa.com/arimaa/puzzles/auto/showPuz.cgi?g=154&m=31b&w= 2&s=me2w+md2w+eb3e+ra3e
 
... on several others it seemed to me there is a lot of solutions.
It would be nice to notice how many first moves solve the puzzle or choose only puzzles with only one solution as was already suggested by 99of9.
 
IP Logged

RonWeasley
Forum Guru
*****




Harry's friend (Arimaa player #441)

   


Gender: male
Posts: 882
Re: Mining for puzzles
« Reply #6 on: Mar 5th, 2010, 5:43am »
Quote Quote Modify Modify

on Mar 4th, 2010, 12:23pm, Hippo wrote:
I looked at several ones and I like these
http://arimaa.com/arimaa/puzzles/auto/showPuz.cgi?g=154&m=29b&w= 2&s=eb5s+mf2w+me2w+ra3e
http://arimaa.com/arimaa/puzzles/auto/showPuz.cgi?g=154&m=31b&w= 2&s=me2w+md2w+eb3e+ra3e
 
 

For the first one, is ra3e eb5s mf2w rg2w another solution?
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Mining for puzzles
« Reply #7 on: Mar 5th, 2010, 4:47pm »
Quote Quote Modify Modify

on Mar 5th, 2010, 5:43am, RonWeasley wrote:

For the first one, is ra3e eb5s mf2w rg2w another solution?

Seems it is ... this is why knowing number of solutions would help Smiley
IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Mining for puzzles
« Reply #8 on: Mar 5th, 2010, 5:18pm »
Quote Quote Modify Modify

on Mar 3rd, 2010, 7:37pm, 99of9 wrote:
One thing that makes a puzzle good is if there is only one solution.

 
Yes, that's a good point. Only problem is that Bomb won't look any further after it finds one forced goal. Probably most bots are that way. So it will be hard to tell how many different solutions there are.
« Last Edit: Mar 5th, 2010, 5:19pm by omar » IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Mining for puzzles
« Reply #9 on: Mar 5th, 2010, 5:41pm »
Quote Quote Modify Modify

on Mar 3rd, 2010, 7:42pm, Fritzlein wrote:

Is there are particular reason you are mining for puzzles at the moment?

 
Well while watching the WCC and seeing how the bots are spotting these forced wins in the end games and making fast moves got me thinking about it again. The idea of mining the games archive for puzzles started in summer of 2007 after some conversation we had. My initial attempt was to just save the game number, move number and solution and look through them later. Here is the first list:
  http://arimaa.com/arimaa/puzzles/auto/list.cgi
 
Then last year around this time I made list2 which was searchable and that helped a bit in finding better puzzles; for example looking in games where the players are higher rated; but still it is tedious to find good puzzles. So I was thinking if there might be a way to automate it.
 
It would be really good to find these. I'm sure the players would love to try and solve them.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Mining for puzzles
« Reply #10 on: Mar 11th, 2010, 9:15am »
Quote Quote Modify Modify

on Mar 5th, 2010, 5:18pm, omar wrote:

 
Yes, that's a good point. Only problem is that Bomb won't look any further after it finds one forced goal. Probably most bots are that way. So it will be hard to tell how many different solutions there are.

 
Aaaa, does your bot have an option to continue searching even after finding a forced goal? I think you posted in other threads where we were wondering if a particular position had multiple solutions and you were able to use your bot to give a definite number of solutions.
IP Logged
aaaa
Forum Guru
*****



Arimaa player #958

   


Posts: 768
Re: Mining for puzzles
« Reply #11 on: Mar 11th, 2010, 9:47am »
Quote Quote Modify Modify

My usual approach of finding more than one solution has been to actually hard code the bot to discard a given move on a case-by-case basis. Very tedious. One game I had the bot simply discard every win, but this had the (normally quite fortuitous) effect of finding wins that are actually longer than the reached search depth would imply.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Mining for puzzles
« Reply #12 on: Mar 11th, 2010, 11:36am »
Quote Quote Modify Modify

on Mar 11th, 2010, 9:47am, aaaa wrote:
My usual approach of finding more than one solution has been to actually hard code the bot to discard a given move on a case-by-case basis. Very tedious. One game I had the bot simply discard every win, but this had the (normally quite fortuitous) effect of finding wins that are actually longer than the reached search depth would imply.

 
Wow, I would have never guessed you were hard coding out the moves. That actually makes manually searching for the puzzles sound easier Smiley
 
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.