command-line-chess icon indicating copy to clipboard operation
command-line-chess copied to clipboard

Castling move is missing 0-0

Open glaand opened this issue 6 years ago • 5 comments

image

glaand avatar May 04 '18 16:05 glaand

Is this issue reproducible and if so, how?

ddugovic avatar May 04 '18 21:05 ddugovic

@ddugovic Yes What side would you like to play as [wB]? w You will play as white

How deep should the AI look for moves? Warning : values above 3 will be very slow. [n]? 1 a b c d e f g h

8 R N B Q K B N R 8 7 p p p p p p p p 7 6 x x x x x x x x 6 5 x x x x x x x x 5 4 x x x x x x x x 4 3 x x x x x x x x 3 2 p p p p p p p p 2 1 R N B Q K B N R 1

a b c d e f g h

It's your move. Type '?' for options. ? e4

Making move : e4 a b c d e f g h

8 R N B Q K B N R 8 7 p p p p p p p p 7 6 x x x x x x x x 6 5 x x x x x x x x 5 4 x x x x p x x x 4 3 x x x x x x x x 3 2 p p p p x p p p 2 1 R N B Q K B N R 1

a b c d e f g h

AI thinking...

Making move : f6 a b c d e f g h

8 R N B Q K B N R 8 7 p p p p p x p p 7 6 x x x x x p x x 6 5 x x x x x x x x 5 4 x x x x p x x x 4 3 x x x x x x x x 3 2 p p p p x p p p 2 1 R N B Q K B N R 1

a b c d e f g h

It's your move. Type '?' for options. ? f3

Making move : f3 a b c d e f g h

8 R N B Q K B N R 8 7 p p p p p x p p 7 6 x x x x x p x x 6 5 x x x x x x x x 5 4 x x x x p x x x 4 3 x x x x x p x x 3 2 p p p p x x p p 2 1 R N B Q K B N R 1

a b c d e f g h

AI thinking...

Making move : a5 a b c d e f g h

8 R N B Q K B N R 8 7 x p p p p x p p 7 6 x x x x x p x x 6 5 p x x x x x x x 5 4 x x x x p x x x 4 3 x x x x x p x x 3 2 p p p p x x p p 2 1 R N B Q K B N R 1

a b c d e f g h

It's your move. Type '?' for options. ? Bd3

Making move : Bd3 a b c d e f g h

8 R N B Q K B N R 8 7 x p p p p x p p 7 6 x x x x x p x x 6 5 p x x x x x x x 5 4 x x x x p x x x 4 3 x x x B x p x x 3 2 p p p p x x p p 2 1 R N B Q K x N R 1

a b c d e f g h

AI thinking...

Making move : b5 a b c d e f g h

8 R N B Q K B N R 8 7 x x p p p x p p 7 6 x x x x x p x x 6 5 p p x x x x x x 5 4 x x x x p x x x 4 3 x x x B x p x x 3 2 p p p p x x p p 2 1 R N B Q K x N R 1

a b c d e f g h

It's your move. Type '?' for options. ? Nh3

Making move : Nh3 a b c d e f g h

8 R N B Q K B N R 8 7 x x p p p x p p 7 6 x x x x x p x x 6 5 p p x x x x x x 5 4 x x x x p x x x 4 3 x x x B x p x N 3 2 p p p p x x p p 2 1 R N B Q K x x R 1

a b c d e f g h

AI thinking...

Making move : d6 a b c d e f g h

8 R N B Q K B N R 8 7 x x p x p x p p 7 6 x x x p x p x x 6 5 p p x x x x x x 5 4 x x x x p x x x 4 3 x x x B x p x N 3 2 p p p p x x p p 2 1 R N B Q K x x R 1

a b c d e f g h

It's your move. Type '?' for options. ? Kg1 Couldn't parse input, enter a valid command or move. a b c d e f g h

8 R N B Q K B N R 8 7 x x p x p x p p 7 6 x x x p x p x x 6 5 p p x x x x x x 5 4 x x x x p x x x 4 3 x x x B x p x N 3 2 p p p p x x p p 2 1 R N B Q K x x R 1

a b c d e f g h

It's your move. Type '?' for options. ? 0-0 Couldn't parse input, enter a valid command or move. a b c d e f g h

8 R N B Q K B N R 8 7 x x p x p x p p 7 6 x x x p x p x x 6 5 p p x x x x x x 5 4 x x x x p x x x 4 3 x x x B x p x N 3 2 p p p p x x p p 2 1 R N B Q K x x R 1

a b c d e f g h

glaand avatar May 16 '18 16:05 glaand

The official notation of castling is 0-0 (For King side) and 0-0-0 (For Queen side) https://en.wikipedia.org/wiki/Castling

glaand avatar May 16 '18 16:05 glaand

Ah, so it is! (PGN uses O-O and O-O-O instead.)

ddugovic avatar May 17 '18 00:05 ddugovic

Still doesn't work

OverFitted avatar May 28 '19 08:05 OverFitted

Closed for the following reasons:

  • There is an existing fix (namely #11)
  • I couldn't reproduce the bug in the latest version (28e0705fb79f1d74e398d0ea15202bc32c714264)

If anyone still has problems with this issue, please leave a comment so the community can discuss about it.

ClasherKasten avatar Sep 21 '22 16:09 ClasherKasten