[gcompris-devel] chess bug
pgeorges
pascal.georges1 at free.fr
Fri Feb 14 14:35:04 UTC 2003
when playing chess, castle is not handled correctly. After a short
castle here is the output I get (and no reply from black) :
engine_local_cb read=4. g1f3
Legal move to g1f3
engine_local_cb read=Search time bonus near book
engine_local_cb read=Root = -32, Phase = 1
engine_local_cb read=Time = 0.82, Max = 3.28, Left = 57.89, Moves = 97
engine_local_cb read=Ply Time Eval Nodes Principal-Variation
engine_local_cb read=1. -10 0 41 Bb4
Legal move to -10 0 41 Bb4
engine_local_cb read=2. -7 0 298 Bb4 a4
Legal move to -7 0 298 Bb4 a4
engine_local_cb read=3. -26 2 2515 Nd4 Nxd4 exd4 Ne2 Nxe4 Nxd4
Legal move to -26 2 2515 Nd4 Nxd4 exd4 Ne2 Nxe4 Nxd4
engine_local_cb read=4. -1 27 16013 Bc5 Na4 Bd4 Nxd4 Nxd4
Legal move to -1 27 16013 Bc5 Na4 Bd4 Nxd4 Nxd4
engine_local_cb read=5. 0 45 30148 Bc5 Na4 Bd4 Nc3 Bc5
Legal move to 0 45 30148 Bc5 Na4 Bd4 Nc3 Bc5
engine_local_cb read=4. ... f8c5
computer number moves to f8c5
move_piece_to from=96 to=63
move_piece_to to x=3 y=5
engine_local_cb read=My move is: f8c5
===== Source square = 25 Destination square = 27
e1g1
move_piece_to from=25 to=27
move_piece_to to x=7 y=1
move_piece_to from=28 to=26
move_piece_to to x=6 y=1
r b q k r
p p p p p p p
n n
B b p
P
N N
P P P P P P P
R B Q R K
engine_local_cb read=Illegal move: e1g1
** (gcompris:3139): WARNING **: Illegal move to : SHOULD NOT HAPPEN
Pascal
More information about the Gcompris-devel
mailing list