Since no firstrank constant has been stored for this game, one will be calculated by analyzing the moves in the game. This will work only if the game lasted long enough to put enough pieces into play.

mv is b1-c3, p is #p, o is b1

space b1 is b1

0 b1 b1-c3 27 61 59 61 59 61 59 29

11011 111101 111011 111101 111011 111101 111011 11101

5 one bits in var b1

11011 1 111011 111101 111011 111101 111011 11101

q end b1-c3 27 1 59 61 59 61 59 29

bb end b1-c3 27 1 59 61 59 61 59 29

bw end b1-c3 27 1 59 61 59 61 59 29

firstr is a1, and lastr is h1

r b1-c3 27 1 59 61 59 61 59 29

first 27 1 59 61 59 61 59 29

mv is c7-c6, p is #p, o is c7

space c7 is p

1 p c7-c6 27 1 59 61 59 61 59 29

11011 1 111011 111101 111011 111101 111011 11101

mv is b2-b3, p is #p, o is b2

space b2 is P

2 P b2-b3 27 1 59 61 59 61 59 29

11011 1 111011 111101 111011 111101 111011 11101

mv is d7-d5, p is #p, o is d7

space d7 is p

3 p d7-d5 27 1 59 61 59 61 59 29

11011 1 111011 111101 111011 111101 111011 11101

mv is c1-b2, p is #p, o is c1

space c1 is c1

4 c1 c1-b2 27 1 59 61 59 61 59 29

11011 1 111011 111101 111011 111101 111011 11101

5 one bits in var c1

11011 1 110010 111101 111011 111101 111011 11101

q end c1-b2 27 1 50 61 59 61 59 29

bb end c1-b2 27 1 50 61 59 61 59 29

bw end c1-b2 27 1 50 61 59 61 59 29

firstr is a1, and lastr is h1

r c1-b2 27 1 50 61 59 61 59 29

first 27 1 50 61 59 61 59 29

mv is h7-h6, p is #p, o is h7

space h7 is p

5 p h7-h6 27 1 50 61 59 61 59 29

11011 1 110010 111101 111011 111101 111011 11101

mv is e2-e3, p is #p, o is e2

space e2 is P

6 P e2-e3 27 1 50 61 59 61 59 29

11011 1 110010 111101 111011 111101 111011 11101

mv is g8-h7, p is #p, o is g8

space g8 is g1

7 g1 g8-h7 27 1 50 61 59 61 59 29

11011 1 110010 111101 111011 111101 111011 11101

5 one bits in var g1

11011 1 110010 111101 111011 111101 110010 11101

q end g8-h7 27 1 50 61 59 61 50 29

bb end g8-h7 27 1 50 61 59 61 50 29

bw end g8-h7 27 1 50 61 59 61 50 29

firstr is a1, and lastr is h1

r g8-h7 27 1 50 61 59 61 50 29

first 27 1 50 61 59 61 50 29

mv is d2-d3, p is #p, o is d2

space d2 is P

8 P d2-d3 27 1 50 61 59 61 50 29

11011 1 110010 111101 111011 111101 110010 11101

mv is e7-e5, p is #p, o is e7

space e7 is p

9 p e7-e5 27 1 50 61 59 61 50 29

11011 1 110010 111101 111011 111101 110010 11101

mv is h1-g3, p is #p, o is h1

space h1 is h1

10 h1 h1-g3 27 1 50 61 59 61 50 29

11011 1 110010 111101 111011 111101 110010 11101

4 one bits in var h1

11011 1 110010 111101 111011 111101 110010 1

q end h1-g3 27 1 50 61 59 61 50 1

bb end h1-g3 27 1 50 61 59 61 50 1

bw end h1-g3 27 1 50 61 59 61 50 1

firstr is a1, and lastr is f1

r h1-g3 27 1 50 61 59 29 18 1

first 27 1 50 61 59 29 18 1

11010 1 110010 111100 111010 11100 10010 1

q end h1-g3 26 1 50 60 58 28 18 1

bb end h1-g3 26 1 50 60 58 28 18 1

bw end h1-g3 26 1 50 60 58 28 18 1

firstr is a1, and lastr is f1

r h1-g3 26 1 50 60 58 28 18 1

first 26 1 50 60 58 28 18 1

mv is e8-g8, p is #p, o is e8

space e8 is e1

11 e1 e8-g8 26 1 50 60 58 28 18 1

11010 1 110010 111100 111010 11100 10010 1

4 one bits in var e1

rook hopping king to castle

King castling by hopping over Rook

11010 1 110010 111100 100000 11100 10010 1

q end e8-g8 26 1 18 28 32 28 18 1

bb end e8-g8 26 1 18 28 32 28 18 1

bw end e8-g8 26 1 18 28 32 28 18 1

firstr is a1, and lastr is f1

One Rook found

g1 18

h1 1

r e8-g8 26 1 18 28 32 8 18 1

first 26 1 18 28 32 8 18 1

11010 1 10010 11100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end e8-g8 26 1 18 28 32 8 18 1

bb end e8-g8 26 1 18 28 32 8 18 1

bw end e8-g8 26 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end e8-g8 8 1 18 4 32 8 18 1

bb end e8-g8 8 1 18 4 32 8 18 1

bw end e8-g8 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is c3-a4, p is #p, o is c3

space c3 is b1

12 b1 c3-a4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c3-a4 8 1 18 4 32 8 18 1

bb end c3-a4 8 1 18 4 32 8 18 1

bw end c3-a4 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is d8-a5, p is #p, o is d8

space d8 is d1

13 d1 d8-a5 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var d1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end d8-a5 8 1 18 4 32 8 18 1

bb end d8-a5 8 1 18 4 32 8 18 1

bw end d8-a5 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is b2-c3, p is #p, o is b2

space b2 is c1

14 c1 b2-c3 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

2 one bits in var c1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end b2-c3 8 1 18 4 32 8 18 1

bb end b2-c3 8 1 18 4 32 8 18 1

bw end b2-c3 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is a5-c3, p is #p, o is a5

space a5 is d1

15 d1 a5-c3 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var d1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a5-c3 8 1 18 4 32 8 18 1

bb end a5-c3 8 1 18 4 32 8 18 1

bw end a5-c3 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is a4-c3, p is #p, o is a4

space a4 is b1

16 b1 a4-c3 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a4-c3 8 1 18 4 32 8 18 1

bb end a4-c3 8 1 18 4 32 8 18 1

bw end a4-c3 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is b8-a6, p is #p, o is b8

space b8 is b1

17 b1 b8-a6 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end b8-a6 8 1 18 4 32 8 18 1

bb end b8-a6 8 1 18 4 32 8 18 1

bw end b8-a6 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is d1-e2, p is #p, o is d1

space d1 is d1

18 d1 d1-e2 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var d1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end d1-e2 8 1 18 4 32 8 18 1

bb end d1-e2 8 1 18 4 32 8 18 1

bw end d1-e2 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is a6-b4, p is #p, o is a6

space a6 is b1

19 b1 a6-b4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a6-b4 8 1 18 4 32 8 18 1

bb end a6-b4 8 1 18 4 32 8 18 1

bw end a6-b4 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is e1-c1, p is #p, o is e1

space e1 is e1

20 e1 e1-c1 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var e1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end e1-c1 8 1 18 4 32 8 18 1

bb end e1-c1 8 1 18 4 32 8 18 1

bw end e1-c1 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is d5-d4, p is #p, o is d5

space d5 is p

21 p d5-d4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

mv is e3-d4, p is #p, o is e3

space e3 is P

22 P e3-d4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

mv is e5-d4, p is #p, o is e5

space e5 is p

23 p e5-d4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

mv is c3-e4, p is #p, o is c3

space c3 is b1

24 b1 c3-e4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c3-e4 8 1 18 4 32 8 18 1

bb end c3-e4 8 1 18 4 32 8 18 1

bw end c3-e4 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is b4-a2, p is #p, o is b4

space b4 is b1

25 b1 b4-a2 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end b4-a2 8 1 18 4 32 8 18 1

bb end b4-a2 8 1 18 4 32 8 18 1

bw end b4-a2 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is c1-b2, p is #p, o is c1

space c1 is e1

26 e1 c1-b2 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var e1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c1-b2 8 1 18 4 32 8 18 1

bb end c1-b2 8 1 18 4 32 8 18 1

bw end c1-b2 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is a2-b4, p is #p, o is a2

space a2 is b1

27 b1 a2-b4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var b1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a2-b4 8 1 18 4 32 8 18 1

bb end a2-b4 8 1 18 4 32 8 18 1

bw end a2-b4 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is f2-f4, p is #p, o is f2

space f2 is P

28 P f2-f4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

mv is f8-d8, p is #p, o is f8

space f8 is f1

29 f1 f8-d8 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var f1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f8-d8 8 1 18 4 32 8 18 1

bb end f8-d8 8 1 18 4 32 8 18 1

bw end f8-d8 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is g3-h5, p is #p, o is g3

space g3 is h1

30 h1 g3-h5 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var h1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g3-h5 8 1 18 4 32 8 18 1

bb end g3-h5 8 1 18 4 32 8 18 1

bw end g3-h5 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is h7-g6, p is #p, o is h7

space h7 is g1

31 g1 h7-g6 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

2 one bits in var g1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end h7-g6 8 1 18 4 32 8 18 1

bb end h7-g6 8 1 18 4 32 8 18 1

bw end h7-g6 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is f1-f3, p is #p, o is f1

space f1 is f1

32 f1 f1-f3 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var f1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f1-f3 8 1 18 4 32 8 18 1

bb end f1-f3 8 1 18 4 32 8 18 1

bw end f1-f3 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is c8-g4, p is #p, o is c8

space c8 is c1

33 c1 c8-g4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

2 one bits in var c1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c8-g4 8 1 18 4 32 8 18 1

bb end c8-g4 8 1 18 4 32 8 18 1

bw end c8-g4 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is f3-g3, p is #p, o is f3

space f3 is f1

34 f1 f3-g3 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var f1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f3-g3 8 1 18 4 32 8 18 1

bb end f3-g3 8 1 18 4 32 8 18 1

bw end f3-g3 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is g6-h5, p is #p, o is g6

space g6 is g1

35 g1 g6-h5 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

2 one bits in var g1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g6-h5 8 1 18 4 32 8 18 1

bb end g6-h5 8 1 18 4 32 8 18 1

bw end g6-h5 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is e2-g4, p is #p, o is e2

space e2 is d1

36 d1 e2-g4 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

1 one bits in var d1

1000 1 10010 100 100000 1000 10010 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end e2-g4 8 1 18 4 32 8 18 1

bb end e2-g4 8 1 18 4 32 8 18 1

bw end e2-g4 8 1 18 4 32 8 18 1

first 8 1 18 4 32 8 18 1

mv is h5-a5, p is #p, o is h5

space h5 is g1

37 g1 h5-a5 8 1 18 4 32 8 18 1

1000 1 10010 100 100000 1000 10010 1

2 one bits in var g1

rook ride

g1 currently set to 18

g1 now set to 16

1000 1 10010 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

queen before h5-a5 8 1 18 4 32 8 16 1

queen after h5-a5 8 1 2 4 32 8 16 1

q end h5-a5 8 1 2 4 32 8 16 1

bb end h5-a5 8 1 2 4 32 8 16 1

bw end h5-a5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end h5-a5 8 1 2 4 32 8 16 1

bb end h5-a5 8 1 2 4 32 8 16 1

bw end h5-a5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is d1-a1, p is #p, o is d1

space d1 is @

38 @ d1-a1 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

0 one bits in var @

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end d1-a1 8 1 2 4 32 8 16 1

bb end d1-a1 8 1 2 4 32 8 16 1

bw end d1-a1 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is a5-c7, p is #p, o is a5

space a5 is g1

39 g1 a5-c7 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a5-c7 8 1 2 4 32 8 16 1

bb end a5-c7 8 1 2 4 32 8 16 1

bw end a5-c7 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is g1-f1, p is #p, o is g1

space g1 is g1

40 g1 g1-f1 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g1-f1 8 1 2 4 32 8 16 1

bb end g1-f1 8 1 2 4 32 8 16 1

bw end g1-f1 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is h8-g6, p is #p, o is h8

space h8 is h1

41 h1 h8-g6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var h1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end h8-g6 8 1 2 4 32 8 16 1

bb end h8-g6 8 1 2 4 32 8 16 1

bw end h8-g6 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is f4-f5, p is #p, o is f4

space f4 is P

42 P f4-f5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is g6-e5, p is #p, o is g6

space g6 is h1

43 h1 g6-e5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var h1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g6-e5 8 1 2 4 32 8 16 1

bb end g6-e5 8 1 2 4 32 8 16 1

bw end g6-e5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is g4-h5, p is #p, o is g4

space g4 is d1

44 d1 g4-h5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var d1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g4-h5 8 1 2 4 32 8 16 1

bb end g4-h5 8 1 2 4 32 8 16 1

bw end g4-h5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is g8-h8, p is #p, o is g8

space g8 is e1

45 e1 g8-h8 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var e1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g8-h8 8 1 2 4 32 8 16 1

bb end g8-h8 8 1 2 4 32 8 16 1

bw end g8-h8 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is g3-h3, p is #p, o is g3

space g3 is f1

46 f1 g3-h3 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var f1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end g3-h3 8 1 2 4 32 8 16 1

bb end g3-h3 8 1 2 4 32 8 16 1

bw end g3-h3 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is f7-f6, p is #p, o is f7

space f7 is p

47 p f7-f6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is g2-g4, p is #p, o is g2

space g2 is P

48 P g2-g4 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is d8-d5, p is #p, o is d8

space d8 is f1

49 f1 d8-d5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var f1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end d8-d5 8 1 2 4 32 8 16 1

bb end d8-d5 8 1 2 4 32 8 16 1

bw end d8-d5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is h3-g3, p is #p, o is h3

space h3 is f1

50 f1 h3-g3 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var f1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end h3-g3 8 1 2 4 32 8 16 1

bb end h3-g3 8 1 2 4 32 8 16 1

bw end h3-g3 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is a7-a6, p is #p, o is a7

space a7 is p

51 p a7-a6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is h2-h4, p is #p, o is h2

space h2 is P

52 P h2-h4 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is d5-a5, p is #p, o is d5

space d5 is f1

53 f1 d5-a5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var f1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end d5-a5 8 1 2 4 32 8 16 1

bb end d5-a5 8 1 2 4 32 8 16 1

bw end d5-a5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is g4-g5, p is #p, o is g4

space g4 is P

54 P g4-g5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is a5-a1, p is #p, o is a5

space a5 is f1

55 f1 a5-a1 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var f1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a5-a1 8 1 2 4 32 8 16 1

bb end a5-a1 8 1 2 4 32 8 16 1

bw end a5-a1 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is f1-a1, p is #p, o is f1

space f1 is g1

56 g1 f1-a1 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f1-a1 8 1 2 4 32 8 16 1

bb end f1-a1 8 1 2 4 32 8 16 1

bw end f1-a1 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is b4-d5, p is #p, o is b4

space b4 is b1

57 b1 b4-d5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var b1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end b4-d5 8 1 2 4 32 8 16 1

bb end b4-d5 8 1 2 4 32 8 16 1

bw end b4-d5 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is b2-c1, p is #p, o is b2

space b2 is e1

58 e1 b2-c1 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var e1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end b2-c1 8 1 2 4 32 8 16 1

bb end b2-c1 8 1 2 4 32 8 16 1

bw end b2-c1 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is c6-c5, p is #p, o is c6

space c6 is p

59 p c6-c5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is g5-f6, p is #p, o is g5

space g5 is P

60 P g5-f6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is d5-f6, p is #p, o is d5

space d5 is b1

61 b1 d5-f6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var b1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end d5-f6 8 1 2 4 32 8 16 1

bb end d5-f6 8 1 2 4 32 8 16 1

bw end d5-f6 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is h5-g6, p is #p, o is h5

space h5 is d1

62 d1 h5-g6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var d1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end h5-g6 8 1 2 4 32 8 16 1

bb end h5-g6 8 1 2 4 32 8 16 1

bw end h5-g6 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is f6-e4, p is #p, o is f6

space f6 is b1

63 b1 f6-e4 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var b1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f6-e4 8 1 2 4 32 8 16 1

bb end f6-e4 8 1 2 4 32 8 16 1

bw end f6-e4 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is d3-e4, p is #p, o is d3

space d3 is P

64 P d3-e4 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is c7-c6, p is #p, o is c7

space c7 is g1

65 g1 c7-c6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c7-c6 8 1 2 4 32 8 16 1

bb end c7-c6 8 1 2 4 32 8 16 1

bw end c7-c6 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is f5-f6, p is #p, o is f5

space f5 is P

66 P f5-f6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is c6-f6, p is #p, o is c6

space c6 is g1

67 g1 c6-f6 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c6-f6 8 1 2 4 32 8 16 1

bb end c6-f6 8 1 2 4 32 8 16 1

bw end c6-f6 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is h4-h5, p is #p, o is h4

space h4 is P

68 P h4-h5 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

mv is f6-f4, p is #p, o is f6

space f6 is g1

69 g1 f6-f4 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f6-f4 8 1 2 4 32 8 16 1

bb end f6-f4 8 1 2 4 32 8 16 1

bw end f6-f4 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is c1-b2, p is #p, o is c1

space c1 is e1

70 e1 c1-b2 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var e1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end c1-b2 8 1 2 4 32 8 16 1

bb end c1-b2 8 1 2 4 32 8 16 1

bw end c1-b2 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is f4-g3, p is #p, o is f4

space f4 is g1

71 g1 f4-g3 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end f4-g3 8 1 2 4 32 8 16 1

bb end f4-g3 8 1 2 4 32 8 16 1

bw end f4-g3 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

mv is a1-f1, p is #p, o is a1

space a1 is g1

72 g1 a1-f1 8 1 2 4 32 8 16 1

1000 1 10 100 100000 1000 10000 1

1 one bits in var g1

1000 1 10 100 100000 1000 10000 1

e1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
)

q end a1-f1 8 1 2 4 32 8 16 1

bb end a1-f1 8 1 2 4 32 8 16 1

bw end a1-f1 8 1 2 4 32 8 16 1

first 8 1 2 4 32 8 16 1

Continue because mv is empty

firstrank is RNBBKRQN






Check out Atomic Chess, our featured variant for November, 2024.

Viewing Game

1 Q
2 P K
3 q P
4 P p
5P n p
6p B p
7 p p
8k r
h g f e d c b a

Fischer Random Chess

White:
Black:



Orientation:
Scale:

Render as:
Shape:

Piece Set:

Colors:


a Fischer Random Chess problem from this position.

Rules of Fischer Random Chess

K
King
Q
Queen
R
Rook
B
Bishop
N
Knight
P
Pawn

Fischer Random Chess is played just like Chess except as follows:

Notation

You should be aware that Game Courier's notation is not identical with standard Chess notation. Game Courier has been designed for general use with any of several different Chess variants, and it accordingly uses a generic system of notation. This system is described in detail in the User's Guide. Here are the basics you need to know for Chess. Move a piece by writing its present coordinate, a hyphen, and its destination coordinate. For example, "e2-e4". There is no special operator for captures. A hyphen should be used even when a piece is captured. To signal to your opponent what piece you moved, and to provide an extra bit of error checking on the move you enter, you may include Game Courier's notation for the piece before the move. For example, "P e2-e4". Note that Game Courier uses uppercase letters for White pieces and lowercase for Black pieces. Black could enter "p e7-e5" for a move but not "P e7-e5".

This preset enforces the rules. It also automates en passant and castling. To capture by en passant, just move your Pawn to its destination. If it is a legal en passant move, your opponent's Pawn will be automatically captured.

To castle, move either your King or your Rook, but not both, to where it must go to castle. This move should be an otherwise illegal move. Either the King should move two or more spaces, or the King or Rook should hop over or capture the other. If you move your King only one space or move your Rook only across empty spaces, then your move will not count as castling. Once you have made half the castling move, the other piece will automatically move into place.

All promotions must be done explicitly. After moving your Pawn to the last rank, tack a semicolon to your Pawn move and add the new piece to the Pawn's space. For example, "P f7-f8; Q-f8".

How to Move Pieces

Full Algebraic Notation

Algebraic notation identifies each space by a coordinate that begins with its file label and ends with its rank label. On the Chess board, files go up and down from one player to the other, and ranks go from left to right. In most games, files are represented by letters, and ranks are represented by numbers, but there is no fixed rule requiring this for all games, and some games, such as Shogi, reverse this convention. If you look at the diagram, you will usually see the file labels going from left to right and the file labels going up and down. And if you hover your mouse over a space, you will normally see the name of the coordinate appear in a tooltip.

It is not uncommon to see algebraic notation being used for Chess, but it is often in an abbreviated format that requires you to know both the rules of the game and the current position to know exactly which piece moves where. For example, the notation "Ne6" indicates that a Knight is moving to e6, but it doesn't indicate which Knight, and it doesn't specify where the Knight is coming from. To figure this out, you need to know how a Knight moves and which Knight on the board can make a legal move to e6.

Although rules may be programmed for individual games, Game Courier itself does not know the rules of any game, and it is unable to parse abbreviated algebraic notation. Therefore, it relies on full algebraic notation, which completely specifies the move without requiring any knowledge of the game's rules or the current position. The most usual type of full algebraic notation indicates the piece that is moving by its label, the space it is moving from, and the space it moving to. In Chess, a typical first move might be written as "P e2-e4". When you hover your mouse over a piece, you will normally see the piece label followed by the coordinate for the space, and when you hover it over an empty space, you will normally see the coordinate label. Including the piece label in your notation allows Game Courier to check that the piece you're moving is the right one, and it makes game notation easier to follow, but it is not mandatory.

You may promote a piece by including a promotion move after your regular move. A promotion move has a piece go directly to a coordinate. Here is an example: "p e7-e8; q-e8".

You may remove a piece from a space by adding an @ to the space or by omitting the destination coordinate. For example, both "@-e4" and "e4-" would remove the piece on "e4". This is useful for en passant when you are playing a game that does not handle this automatically. For example, "P d5-e6; e5-" removes the Pawn on e5 after a Pawn moves from d5 to e6.

You will not need to remove spaces for most games, but if you should need to, you can do this by omitting the first coordinate in a move. For example, "-e4" would remove e4 from the board. To add or return a space to the board, you may add an @ or any other piece to it.

Available Pieces

Pieces are represented by labels, usually using uppercase letters for White and lowercase letter for Black. When you enter a move or specify the starting position for a game, you should remember that piece labels are case-sensitive. Many piece sets are available for use with Game Courier, and this table shows you which pieces belong to the piece set you are currently using.

The inclusion of a piece does not indicate that it is used in the game you are playing. But if your game uses pieces not included here, you should choose a different piece set.

WKnightBishop.gif
A
WBishop.gif
B
WCamel.gif
C
WWarmachine.gif
D
WElephant.gif
E
WFers.gif
F
WGrasshopper.gif
G
WHorse.gif
H
WNightrider.gif
I
WGiraffe.gif
J
WKing.gif
K
WLion.gif
L
WKnightRook.gif
M
WKnight.gif
N
WKingRook.gif
O
WPawn.gif
P
WQueen.gif
Q
WRook.gif
R
WBerlinPawn.gif
S
WAmazon.gif
T
WNightPrincess.gif
U
WVao.gif
V
WWazir.gif
W
WKnightKing.gif
X
WKingBishop.gif
Y
WZebra.gif
Z
BKnightBishop.gif
a
BBishop.gif
b
BCamel.gif
c
BWarmachine.gif
d
BElephant.gif
e
BFers.gif
f
BGrasshopper.gif
g
BHorse.gif
h
BNightrider.gif
i
BGiraffe.gif
j
BKing.gif
k
BLion.gif
l
BKnightRook.gif
m
BKnight.gif
n
BKingRook.gif
o
BPawn.gif
p
BQueen.gif
q
BRook.gif
r
BBerlinPawn.gif
s
BAmazon.gif
t
BNightPrincess.gif
u
BVao.gif
v
BWazir.gif
w
BKnightKing.gif
x
BKingBishop.gif
y
BZebra.gif
z

Credits

This preset uses the Abstract settings file for Fischer Random Chess, which was made by Fergus Duniho.

Game Courier was created, programmed and written by Fergus Duniho.

Game Courier, Copyright © Fergus Duniho, 2001-2017


WWW Page Created: 15 August 2001

Kibbitzing Etiquette

Kibbitzing is the practice of commenting on a game you are not playing. In commenting on a game, please follow these rules of etiquette.

(1) If you notice that someone has made an illegal move, please mention it. Some Game Courier presets cannot enforce rules, but Game Courier does enable players to take back any previous move. Details on how to take back a move are provided in the User's Guide, linked to above the board.

(2) Unless otherwise specifically asked to, do not offer hints or suggestions to players on what moves they should make. In general, avoid coaching comments.

(3) Once a game is over, it should be alright to offer your analysis of the game and your specific comments on what moves players should have made. If some players don't want this, they may mention it in the Kibbitzing section, and you should honor this request by not commenting on the game.

(4) Be polite. At the appropriate time, offer any criticism you have in a constructive manner. Avoid heckling players for bad moves.

(5) Don't spam this space with irrelevant comments. If you have a comment about Game Courier, rather than about the specific game you're viewing, please post it on Game Courier's Index page to give it.