Update all new Tasks
This commit is contained in:
parent
00a190b0a6
commit
91df62d461
5697 changed files with 93386 additions and 804 deletions
|
|
@ -0,0 +1,11 @@
|
|||
row0=: u: 9812+2}.5|i.10
|
||||
king=: u:9812
|
||||
rook=: u:9814
|
||||
bish=: u:9815
|
||||
pos=: I.@e.
|
||||
bishok=: 1=2+/ .| pos&bish
|
||||
rookok=: pos&rook -: (<./,>./)@pos&(rook,king)
|
||||
ok=: bishok*rookok
|
||||
perm=: A.&i.~ !
|
||||
valid=: (#~ ok"1) ~.row0{"1~perm 8
|
||||
gen=: valid {~ ? bind 960
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
gen''
|
||||
♘♗♖♔♗♕♖♘
|
||||
gen''
|
||||
♗♘♘♗♖♔♖♕
|
||||
gen''
|
||||
♖♗♔♘♘♕♗♖
|
||||
gen''
|
||||
♖♔♕♗♗♘♖♘
|
||||
Loading…
Add table
Add a link
Reference in a new issue