Calcudoku puzzle forum
https://www.calcudoku.org/forum/

describe your solver
https://www.calcudoku.org/forum/viewtopic.php?f=3&t=64
Page 3 of 3

Author:  nicow  [ Mon Feb 23, 2015 12:44 pm ]
Post subject:  Re: describe your solver

I am updating my (Excel2007) solver to make it more input-friendly as I'm beginning to get RSI.
It was very easy to let it remember the last operator. In plus-only or multiply-only puzzles, I have to type the operator only once!

Now I am looking for a handy method to code the cages in a simple and fast way to reduce key strokes. A cage of 3 cells used 8 keystrokes, now only 2.

I found out, that it is easy for a macro to determine how a cell is left. That is, a+[enter] can be distinguished from a+[arrow left]. That kind of information can be used! And this opens the way for a kind of 'steno' to specify the form of a multi cell cage!

So far I have made 42 functions. For example v+[enter] is a square, v+Arrow is a parallelogram in that direction. So 5 functions underneath a letter.
c is for correction, a is add cell to cage in that direction. It works fine.

I have to type 70% less!

Author:  pnm  [ Fri Sep 08, 2017 8:47 am ]
Post subject:  Re: describe your solver

Here's a new one:

https://github.com/elterminad0r/Calcudoku

Author:  pnm  [ Wed Jul 18, 2018 10:55 am ]
Post subject:  Re: describe your solver

And another new one :-)

https://github.com/lucrae/kenken-solve

Author:  fic  [ Fri May 24, 2019 7:45 pm ]
Post subject:  Re: describe your solver

Wrote my solver in c# when I was retiring from Delphi.
It started with writing a little program to show me all the combinations for a cage (from a range from..to...) when I clicked on a cell of the puzzle.
Following operators are supported : +, -, x, /, &, |, ^ and mod (or a puzzle without operators).
And when that seemed to be okay, I tweaked it and added some more stuff to make life a bit more comfortable :-)
Then I wrote a solver because there was one user-puzzle that really drove me mad (a 12x12-puzzle, range 0..11 from kus_theo on 2018-06-09).
Mind you, I rarely click the solve button!!! It depends on the free time I have.
Don't know if the numbers are good, but it solves a 15x15 puzzle under 4 minutes.

Author:  ineedaname  [ Mon Jan 25, 2021 2:02 am ]
Post subject:  Re: describe your solver

Are their any python experts on here ? I'm not interested in a solver as I like to solve them myself so don't see the point of a solver. I have absolutely no/very little apart from having a rough idea on how to follow easy stuff python ability at all & came up with the idea to put together a possible combination generator to help with the larger puzzles. With the help of my son (who has a basic understanding of python as he did as part of his teaching course through uni) we put together a program that does the job but I have a few more bells & whistles i'd like to add like # of duplicates, must include a certain number etc

I'm sure an expert would change my code around to make a lot smaller in size, run quicker etc but it does the job for me for the most part but would like to tidy up & add a bit t it. I used to use a website that was listed in the forums here years ago that I used for ages but it only did + - / * up to 9. I have it at the moment that it does + - / * ^ | & bit so all bases covered.

Let me know if anyone can help or point me to something similar already done so I'm not reinventing the wheel.

Page 3 of 3 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/