|
|
(1) Posted by Hauke Reddmann [Tuesday, Apr 6, 2021 18:25] |
Abusing Popeye as move generator Can I have the stipulation "Move in 1 move"? :-)
(Obviously sometimes a list of all legal moves is useful.
I just say SCHWALBE construction challenge...) |
|
(2) Posted by Frank Richter [Tuesday, Apr 6, 2021 20:16] |
You may use simply "zugn" as option (?).
That will list all possible moves with numbers. |
|
(3) Posted by Dmitri Turevski [Tuesday, Apr 6, 2021 20:29] |
Olive has toolbar buttons wired to "Stipulation ~1" and "Stipulation ~1 Option HalfDuplex" for all legal white and black moves respectively. |
|
(4) Posted by Joost de Heer [Tuesday, Apr 6, 2021 20:56] |
stip ~1 |
|
(5) Posted by Hauke Reddmann [Wednesday, Apr 7, 2021 09:50] |
THX! (@Frank: Nope, zugn isn't a valid option, but since
Popeye sorts by piece, I quickly can check by hand.) |
|
(6) Posted by Frank Richter [Wednesday, Apr 7, 2021 10:14] |
Sorry, I don't understand, what do you miss here:
Popeye Windows-64Bit v4.47 (64 MB)
kN6/P1PPPPPP/2P5/4K3/R6Q/2NBB3/1R6/8
+---a---b---c---d---e---f---g---h---+
| |
8 -K S . . . . . . 8
| |
7 B . B B B B B B 7
| |
6 . . B . . . . . 6
| |
5 . . . . K . . . 5
| |
4 T . . . . . . D 4
| |
3 . . S L L . . . 3
| |
2 . T . . . . . . 2
| |
1 . . . . . . . . 1
| |
+---a---b---c---d---e---f---g---h---+
#2 16 + 1
1 (Sb8-a6 Zeit = 0.016 s)
2 (h7-h8=D Zeit = 0.016 s)
3 (h7-h8=S Zeit = 0.016 s)
4 (h7-h8=T Zeit = 0.032 s)
5 (h7-h8=L Zeit = 0.032 s)
6 (g7-g8=D Zeit = 0.032 s)
7 (g7-g8=S Zeit = 0.047 s)
8 (g7-g8=T Zeit = 0.047 s)
9 (g7-g8=L Zeit = 0.047 s)
10 (f7-f8=D Zeit = 0.063 s)
11 (f7-f8=S Zeit = 0.063 s)
...
26 (Ke5-f5 Zeit = 0.157 s)
27 (Ke5-e6 Zeit = 0.157 s)
28 (Ke5-d5 Zeit = 0.172 s)
29 (Ke5-e4 Zeit = 0.172 s)
30 (Ke5-d6 Zeit = 0.172 s)
31 (Ke5-f6 Zeit = 0.188 s)
32 (Ke5-f4 Zeit = 0.188 s)
33 (Ke5-d4 Zeit = 0.188 s)
...
97 (Tb2-f2 Zeit = 0.563 s)
98 (Tb2-e2 Zeit = 0.579 s)
99 (Tb2-d2 Zeit = 0.579 s)
100 (Tb2-c2 Zeit = 0.579 s)
Loesung beendet. Zeit = 0.594 s |
|
(7) Posted by Joost de Heer [Wednesday, Apr 7, 2021 14:36] |
@Frank: Popeye will also print illegal moves (e.g. placing own king in check) in zugnummer.
Popeye Windows-64Bit v4.86 (6686 MB)
begin
stip ~1
pie whi Kb1
bla kh8 qd2
opt move
end
+---a---b---c---d---e---f---g---h---+
| |
8 . . . . . . . -K 8
| |
7 . . . . . . . . 7
| |
6 . . . . . . . . 6
| |
5 . . . . . . . . 5
| |
4 . . . . . . . . 4
| |
3 . . . . . . . . 3
| |
2 . . . -Q . . . . 2
| |
1 . K . . . . . . 1
| |
+---a---b---c---d---e---f---g---h---+
~1 1 + 2
1 (Kb1-c2 Time = 4.118 s)
2 (Kb1-a2 Time = 4.118 s)
3 (Kb1-a1 Time = 4.118 s)
1.Kb1-a1 !
4 (Kb1-b2 Time = 4.128 s)
5 (Kb1-c1 Time = 4.128 s) |
|
(8) Posted by Hauke Reddmann [Wednesday, Apr 7, 2021 17:55] |
@Frank: D'oh, my Popeye is defaulted to English keys :-) |
|
No more posts |
MatPlus.Net Forum Internet and Computing Abusing Popeye as move generator |