Author |
Topic: Mining for puzzles (Read 1066 times) |
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Mining for puzzles
« on: Mar 3rd, 2010, 4:45pm » |
Quote 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 |
|
|
|
99of9
Forum Guru
Gnobby's creator (player #314)
Gender:
Posts: 1413
|
|
Re: Mining for puzzles
« Reply #2 on: Mar 3rd, 2010, 7:37pm » |
Quote Modify
|
One thing that makes a puzzle good is if there is only one solution.
|
|
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: Mining for puzzles
« Reply #3 on: Mar 3rd, 2010, 7:42pm » |
Quote 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:
Posts: 33
|
|
Re: Mining for puzzles
« Reply #4 on: Mar 3rd, 2010, 9:05pm » |
Quote 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 |
|
|
|
RonWeasley
Forum Guru
Harry's friend (Arimaa player #441)
Gender:
Posts: 882
|
|
Re: Mining for puzzles
« Reply #6 on: Mar 5th, 2010, 5:43am » |
Quote Modify
|
on Mar 4th, 2010, 12:23pm, Hippo wrote: For the first one, is ra3e eb5s mf2w rg2w another solution?
|
|
IP Logged |
|
|
|
Hippo
Forum Guru
Arimaa player #4450
Gender:
Posts: 883
|
|
Re: Mining for puzzles
« Reply #7 on: Mar 5th, 2010, 4:47pm » |
Quote 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
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Mining for puzzles
« Reply #8 on: Mar 5th, 2010, 5:18pm » |
Quote 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:
Posts: 1003
|
|
Re: Mining for puzzles
« Reply #9 on: Mar 5th, 2010, 5:41pm » |
Quote 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:
Posts: 1003
|
|
Re: Mining for puzzles
« Reply #10 on: Mar 11th, 2010, 9:15am » |
Quote 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 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:
Posts: 1003
|
|
Re: Mining for puzzles
« Reply #12 on: Mar 11th, 2010, 11:36am » |
Quote 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
|
|
IP Logged |
|
|
|
|