MatPlus.Net

 Website founded by
Milan Velimirović
in 2006

23:06 UTC
ISC 2024
 
  Forum*
 
 
 
 

Username:

Password:

Remember me

 
Forgot your
password?
Click here!
SIGN IN
to create your account if you don't already have one.
CHESS
SOLVING

Tournaments
Rating lists
1-Oct-2024

B P C F





 
 
MatPlus.Net Forum Internet and Computing Hauke's Epic Letter Problem Maker Extra
 
You can only view this page!
(1) Posted by Hauke Reddmann [Tuesday, Jun 15, 2021 16:36]

Hauke's Epic Letter Problem Maker Extra


(= 3+2 )

#2

This (admittedly not very Album-ish) problem was
fully (ahem) automatically found by HELPME.
It consists of two Python proggies plus Popeye.
Description:
Handish Input - You must specify a position. HELPME
(or more precise, a script generate.py) then generates
all derived positions consisting of all shifts and all
permutations (but not rotations or mirrorings) and
makes a Popeye batch file from them.
Some minimum legality checks are done
on the position and its derivations, since throwing
out trash beforehand makes checking the Popeye output
far easier. (The position above was tailored to allow
only few shifts and check the Black-in-check checker.
Otherwise it is random. That exactly 1 position is
correct is just a funny accident. There is also exactly
one non-dualistic #3 position, but unless you tell me
how I can easily exclude the #2, I stay at #2.)
Popeye - You then run Popeye to an output file.
Scanner - The script scan.py then looks if any position
has exactly one solution (and no, I can't check for
duals yet) and writes all correct (modulo duals)
problems into another file. I can't automatize publishing
for you :-), and you really must decide on your own if
the problems are good enough anyway, but feel free to suggest
features for HELPME 2.0.

I make the code freely available in two weeks.
 
(Read Only)pid=21265
(2) Posted by Joost de Heer [Wednesday, Jun 16, 2021 07:49]

To filter the #2: Stoponshortsolution, each problem its own outputfile, and exclude files which don't have '3.' in it?
 
 
(Read Only)pid=21267
(3) Posted by Hauke Reddmann [Wednesday, Jun 16, 2021 08:53]

@Joost: THX for the tip, I try it out. (With an intelligent
scanner, it should NOT be necessary to store each problem
to a different file.)

EDIT: Not supported with direct play :-(
 
   
(Read Only)pid=21268
(4) Posted by Hauke Reddmann [Monday, Jul 5, 2021 10:30]

https://www.schachfeld.de/threads/37875-komponieren-fuer-faule-saecke?p=618835#post618835

On above forum is the code (the description is in German - in case copying all the files
and running them doesn't work, cry for help).
Feel free to make suggestions. Issue #1 is providing checking on checking keys,
but I was too lazy yet since this is not totally trivial to implement. Also,
at the moment the dual finder only checks the first three halfmoves, thus
it's best used for #2.

Can do: Input any pattern, shift and figure-permute (but not rotate or mirror) it
and test all results.
Can not: Check if a problem is ready for the FIDE album :-)
 
 
(Read Only)pid=21319

No more posts


MatPlus.Net Forum Internet and Computing Hauke's Epic Letter Problem Maker Extra