beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
mtsd has joined #picolisp
rob_w has joined #picolisp
_whitelogger has joined #picolisp
<tankf33der> morning all
<tankf33der> Regenaxer
<tankf33der> this is position from yesterday's issue
<tankf33der> now both king have T as third argument in file
<tankf33der> when loaded i still can not make a cast
<Regenaxer> Hi tankf33der
<tankf33der> (go e8 g8) returns NIL
<Regenaxer> later, in a Meeting
<tankf33der> ha
<tankf33der> i knew it
<tankf33der> Rook must also have T
<tankf33der> This is how you respect 0-0 or 0-0-0
<Regenaxer> yeah, rooks too
<tankf33der> castring issue closed.
<tankf33der> new record 1500+ puzzles and counting
<Regenaxer> Cool :)
<tankf33der> failed #2364
<tankf33der> an peasant pawn take
<tankf33der> you engine dont support it, right?
<Regenaxer> en passant is supported
<Regenaxer> (I think ;)
<tankf33der> via T?
<tankf33der> T did not helped
<tankf33der> [mpech@lambda chess]$ find . -type f | xargs grep -i pass
<tankf33der> ./README:The same effect can be achieved by passing the desired depth as the first
<tankf33der> [mpech@lambda chess]$
<tankf33der> and sources are empty
<tankf33der> 49 puzzles on en passant pawn from 89k
<tankf33der> new record before failed 6k
<tankf33der> afk.
Guest7269 has joined #picolisp
Guest7269 has quit [Client Quit]
peterhil has joined #picolisp
rob_w has quit [Quit: Leaving]
peterhil has quit [Ping timeout: 252 seconds]
<beneroth> tankf33der, so cool! \o/
<tankf33der> this time it was promotion to non-queen, so i must add handle for this too.
<Regenaxer> and also non-knight?
<tankf33der> knight! :)
<tankf33der> good this handle by engine itself (go g7 h8 +Knight)
<Regenaxer> Ah, right! Forgot that :)
<tankf33der> So this is issue on my side.
clacke has joined #picolisp
<tankf33der> this is a bug
<tankf33der> about long cast
<tankf33der> white's king cells not atttacked so long cast is valid
<tankf33der> NOT all cells between rook and king
<tankf33der> ONLY cells of king trip must be checked
<tankf33der> see #5.
<tankf33der> afk.
<tankf33der> sleep
<Regenaxer> I think the 6 rules as in Wikipedia are implemented that way
<tankf33der> King dont get check after castle here
<Regenaxer> I single-step 'tryCastle'
<tankf33der> engine thinks b1 attacking by queen thats why do not allow it
<tankf33der> afk.
<tankf33der> I must rest.
<Regenaxer> o
<Regenaxer> ok
<Regenaxer> This fails: (== '+Rook (last (type (setq Pce (get (Dir Fld) 'piece)))))
<Regenaxer> this line
<Regenaxer> the type is NIL, not rook
<Regenaxer> you are right, b1 is checked for attackers
<Regenaxer> So only d1 actually needs to be checked
<Regenaxer> Hmm, tryCastle can be made a lot simpler
<Regenaxer> all those fields are constant, no need to calculate them
<Regenaxer> I'll think about that tomorrow
mtsd has quit [Quit: Leaving]
peterhil has joined #picolisp