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 b2-b3, p is #p, o is b2

space b2 is P

0 P b2-b3 27 61 59 61 59 61 59 29

11011 111101 111011 111101 111011 111101 111011 11101

mv is b7-b6, p is #p, o is b7

space b7 is p

1 p b7-b6 27 61 59 61 59 61 59 29

11011 111101 111011 111101 111011 111101 111011 11101

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

space e1 is e1

2 e1 e1-f3 27 61 59 61 59 61 59 29

11011 111101 111011 111101 111011 111101 111011 11101

5 one bits in var e1

11011 111101 111011 111101 1 111101 111011 11101

q end e1-f3 27 61 59 61 1 61 59 29

bb end e1-f3 27 61 59 61 1 61 59 29

bw end e1-f3 27 61 59 61 1 61 59 29

firstr is a1, and lastr is h1

r e1-f3 27 61 59 61 1 61 59 29

first 27 61 59 61 1 61 59 29

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

space c8 is c1

3 c1 c8-b7 27 61 59 61 1 61 59 29

11011 111101 111011 111101 1 111101 111011 11101

5 one bits in var c1

11011 111101 110010 111101 1 111101 111011 11101

q end c8-b7 27 61 50 61 1 61 59 29

bb end c8-b7 27 61 50 61 1 61 59 29

bw end c8-b7 27 61 50 61 1 61 59 29

firstr is a1, and lastr is h1

r c8-b7 27 61 50 61 1 61 59 29

first 27 61 50 61 1 61 59 29

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

space c1 is c1

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

11011 111101 110010 111101 1 111101 111011 11101

3 one bits in var c1

11011 111101 110010 111101 1 111101 111011 11101

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

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

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

firstr is a1, and lastr is h1

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

first 27 61 50 61 1 61 59 29

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

space e8 is e1

5 e1 e8-d6 27 61 50 61 1 61 59 29

11011 111101 110010 111101 1 111101 111011 11101

1 one bits in var e1

11011 111101 110010 111101 1 111101 111011 11101

q end e8-d6 27 61 50 61 1 61 59 29

bb end e8-d6 27 61 50 61 1 61 59 29

bw end e8-d6 27 61 50 61 1 61 59 29

firstr is a1, and lastr is h1

r e8-d6 27 61 50 61 1 61 59 29

first 27 61 50 61 1 61 59 29

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

space d2 is P

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

11011 111101 110010 111101 1 111101 111011 11101

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

space d8 is d1

7 d1 d8-c6 27 61 50 61 1 61 59 29

11011 111101 110010 111101 1 111101 111011 11101

5 one bits in var d1

11011 111101 110010 1 1 111101 111011 11101

q end d8-c6 27 61 50 1 1 61 59 29

bb end d8-c6 27 61 50 1 1 61 59 29

bw end d8-c6 27 61 50 1 1 61 59 29

firstr is a1, and lastr is h1

r d8-c6 27 61 50 1 1 61 59 29

first 27 61 50 1 1 61 59 29

11010 111100 110010 1 1 111100 111010 11100

q end d8-c6 26 60 50 1 1 60 58 28

bb end d8-c6 26 60 50 1 1 60 58 28

bw end d8-c6 26 60 50 1 1 60 58 28

firstr is a1, and lastr is h1

r d8-c6 26 60 50 1 1 60 58 28

first 26 60 50 1 1 60 58 28

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

space e2 is P

8 P e2-e4 26 60 50 1 1 60 58 28

11010 111100 110010 1 1 111100 111010 11100

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

space f7 is p

9 p f7-f6 26 60 50 1 1 60 58 28

11010 111100 110010 1 1 111100 111010 11100

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

space d1 is d1

10 d1 d1-e3 26 60 50 1 1 60 58 28

11010 111100 110010 1 1 111100 111010 11100

1 one bits in var d1

11010 111100 110010 1 1 111100 111010 11100

q end d1-e3 26 60 50 1 1 60 58 28

bb end d1-e3 26 60 50 1 1 60 58 28

bw end d1-e3 26 60 50 1 1 60 58 28

firstr is a1, and lastr is h1

r d1-e3 26 60 50 1 1 60 58 28

first 26 60 50 1 1 60 58 28

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

space e7 is p

11 p e7-e5 26 60 50 1 1 60 58 28

11010 111100 110010 1 1 111100 111010 11100

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

space f1 is f1

12 f1 f1-e2 26 60 50 1 1 60 58 28

11010 111100 110010 1 1 111100 111010 11100

4 one bits in var f1

11010 111100 110010 1 1 110100 111010 11100

q end f1-e2 26 60 50 1 1 52 58 28

bb end f1-e2 26 60 50 1 1 52 58 28

bw end f1-e2 26 60 50 1 1 52 58 28

firstr is a1, and lastr is h1

r f1-e2 26 60 50 1 1 52 58 28

first 26 60 50 1 1 52 58 28

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

space f8 is f1

13 f1 f8-e7 26 60 50 1 1 52 58 28

11010 111100 110010 1 1 110100 111010 11100

3 one bits in var f1

11010 111100 110010 1 1 110100 111010 11100

q end f8-e7 26 60 50 1 1 52 58 28

bb end f8-e7 26 60 50 1 1 52 58 28

bw end f8-e7 26 60 50 1 1 52 58 28

firstr is a1, and lastr is h1

r f8-e7 26 60 50 1 1 52 58 28

first 26 60 50 1 1 52 58 28

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

space h1 is h1

14 h1 h1-f1 26 60 50 1 1 52 58 28

11010 111100 110010 1 1 110100 111010 11100

3 one bits in var h1

rook hopping king to castle

11010 111100 110010 1 1 110100 111010 11100

q end h1-f1 26 60 50 1 1 52 58 28

bb end h1-f1 26 60 50 1 1 52 58 28

bw end h1-f1 26 60 50 1 1 52 58 28

firstr is a1, and lastr is h1

r h1-f1 26 60 50 1 1 52 58 28

first 26 60 50 1 1 52 58 28

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

space h8 is h1

15 h1 h8-f8 26 60 50 1 1 52 58 28

11010 111100 110010 1 1 110100 111010 11100

3 one bits in var h1

rook hopping king to castle

11010 111100 110010 1 1 110100 111010 11100

q end h8-f8 26 60 50 1 1 52 58 28

bb end h8-f8 26 60 50 1 1 52 58 28

bw end h8-f8 26 60 50 1 1 52 58 28

firstr is a1, and lastr is h1

r h8-f8 26 60 50 1 1 52 58 28

first 26 60 50 1 1 52 58 28

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

space e3 is d1

16 d1 e3-d5 26 60 50 1 1 52 58 28

11010 111100 110010 1 1 110100 111010 11100

1 one bits in var d1

11010 111100 110010 1 1 110100 111010 11100

q end e3-d5 26 60 50 1 1 52 58 28

bb end e3-d5 26 60 50 1 1 52 58 28

bw end e3-d5 26 60 50 1 1 52 58 28

firstr is a1, and lastr is h1

r e3-d5 26 60 50 1 1 52 58 28

first 26 60 50 1 1 52 58 28

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

space b8 is b1

17 b1 b8-d8 26 60 50 1 1 52 58 28

11010 111100 110010 1 1 110100 111010 11100

4 one bits in var b1

rook ride

Rook or Queen move

11010 11000 110010 1 1 110100 111010 11100

q end b8-d8 26 24 50 1 1 52 58 28

bb end b8-d8 26 24 50 1 1 52 58 28

bw end b8-d8 26 24 50 1 1 52 58 28

firstr is a1, and lastr is h1

r b8-d8 26 24 50 1 1 52 58 28

first 26 24 50 1 1 52 58 28

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

space b1 is b1

18 b1 b1-c1 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

2 one bits in var b1

11010 11000 110010 1 1 110100 111010 11100

q end b1-c1 26 24 50 1 1 52 58 28

bb end b1-c1 26 24 50 1 1 52 58 28

bw end b1-c1 26 24 50 1 1 52 58 28

firstr is a1, and lastr is h1

r b1-c1 26 24 50 1 1 52 58 28

first 26 24 50 1 1 52 58 28

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

space d6 is e1

19 e1 d6-f7 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

1 one bits in var e1

11010 11000 110010 1 1 110100 111010 11100

q end d6-f7 26 24 50 1 1 52 58 28

bb end d6-f7 26 24 50 1 1 52 58 28

bw end d6-f7 26 24 50 1 1 52 58 28

firstr is a1, and lastr is h1

r d6-f7 26 24 50 1 1 52 58 28

first 26 24 50 1 1 52 58 28

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

space d5 is d1

20 d1 d5-e7 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

1 one bits in var d1

11010 11000 110010 1 1 110100 111010 11100

q end d5-e7 26 24 50 1 1 52 58 28

bb end d5-e7 26 24 50 1 1 52 58 28

bw end d5-e7 26 24 50 1 1 52 58 28

firstr is a1, and lastr is h1

r d5-e7 26 24 50 1 1 52 58 28

first 26 24 50 1 1 52 58 28

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

space c6 is d1

21 d1 c6-e7 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

1 one bits in var d1

11010 11000 110010 1 1 110100 111010 11100

q end c6-e7 26 24 50 1 1 52 58 28

bb end c6-e7 26 24 50 1 1 52 58 28

bw end c6-e7 26 24 50 1 1 52 58 28

firstr is a1, and lastr is h1

r c6-e7 26 24 50 1 1 52 58 28

first 26 24 50 1 1 52 58 28

mv is c2-c4, p is #p, o is c2

space c2 is P

22 P c2-c4 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

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

space e7 is d1

23 d1 e7-g6 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

1 one bits in var d1

11010 11000 110010 1 1 110100 111010 11100

q end e7-g6 26 24 50 1 1 52 58 28

bb end e7-g6 26 24 50 1 1 52 58 28

bw end e7-g6 26 24 50 1 1 52 58 28

firstr is a1, and lastr is h1

r e7-g6 26 24 50 1 1 52 58 28

first 26 24 50 1 1 52 58 28

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

space c1 is b1

24 b1 c1-d2 26 24 50 1 1 52 58 28

11010 11000 110010 1 1 110100 111010 11100

2 one bits in var b1

11010 10000 110010 1 1 110100 111010 11100

queen before c1-d2 26 16 50 1 1 52 58 28

queen after c1-d2 10 16 34 1 1 36 42 12

q end c1-d2 10 16 34 1 1 36 42 12

bb end c1-d2 10 16 34 1 1 36 42 12

bw end c1-d2 10 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r c1-d2 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

q end c1-d2 8 16 34 1 1 36 42 12

bb end c1-d2 8 16 34 1 1 36 42 12

bw end c1-d2 8 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r c1-d2 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

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

space g6 is d1

25 d1 g6-f4 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

1 one bits in var d1

1000 10000 100010 1 1 100100 101010 1100

q end g6-f4 8 16 34 1 1 36 42 12

bb end g6-f4 8 16 34 1 1 36 42 12

bw end g6-f4 8 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r g6-f4 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

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

space a1 is a1

26 a1 a1-d1 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

1 one bits in var a1

1000 10000 100010 1 1 100100 101010 1100

q end a1-d1 8 16 34 1 1 36 42 12

bb end a1-d1 8 16 34 1 1 36 42 12

bw end a1-d1 8 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r a1-d1 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

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

space c7 is p

27 p c7-c6 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space d3 is P

28 P d3-d4 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space f4 is d1

29 d1 f4-e2 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

1 one bits in var d1

1000 10000 100010 1 1 100100 101010 1100

q end f4-e2 8 16 34 1 1 36 42 12

bb end f4-e2 8 16 34 1 1 36 42 12

bw end f4-e2 8 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r f4-e2 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

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

space d2 is b1

30 b1 d2-e2 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

1 one bits in var b1

1000 10000 100010 1 1 100100 101010 1100

q end d2-e2 8 16 34 1 1 36 42 12

bb end d2-e2 8 16 34 1 1 36 42 12

bw end d2-e2 8 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r d2-e2 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

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

space d7 is p

31 p d7-d5 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space e4 is P

32 P e4-d5 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space c6 is p

33 p c6-d5 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space d4 is P

34 P d4-e5 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space d8 is b1

35 b1 d8-c7 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

1 one bits in var b1

1000 10000 100010 1 1 100100 101010 1100

q end d8-c7 8 16 34 1 1 36 42 12

bb end d8-c7 8 16 34 1 1 36 42 12

bw end d8-c7 8 16 34 1 1 36 42 12

firstr is a1, and lastr is h1

One Rook found

b1 16

c1 34

r d8-c7 8 16 34 1 1 36 42 12

first 8 16 34 1 1 36 42 12

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

space c4 is P

36 P c4-d5 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

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

space f8 is h1

37 h1 f8-e8 8 16 34 1 1 36 42 12

1000 10000 100010 1 1 100100 101010 1100

2 one bits in var h1

1000 10000 100010 1 1 100100 101010 1000

q end f8-e8 8 16 34 1 1 36 42 8

bb end f8-e8 8 16 34 1 1 36 42 8

bw end f8-e8 8 16 34 1 1 4 42 8

firstr is a1, and lastr is h1

Two rooks found.

r f8-e8 8 16 34 1 1 4 34 8

first 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

q end f8-e8 8 16 34 1 1 4 34 8

bb end f8-e8 8 16 34 1 1 4 34 8

bw end f8-e8 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space e5 is P

38 P e5-e6 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

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

space f7 is e1

39 e1 f7-d6 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var e1

1000 10000 100010 1 1 100 100010 1000

q end f7-d6 8 16 34 1 1 4 34 8

bb end f7-d6 8 16 34 1 1 4 34 8

bw end f7-d6 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space d1 is a1

40 a1 d1-c1 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var a1

1000 10000 100010 1 1 100 100010 1000

q end d1-c1 8 16 34 1 1 4 34 8

bb end d1-c1 8 16 34 1 1 4 34 8

bw end d1-c1 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space c7 is b1

41 b1 c7-e7 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var b1

1000 10000 100010 1 1 100 100010 1000

q end c7-e7 8 16 34 1 1 4 34 8

bb end c7-e7 8 16 34 1 1 4 34 8

bw end c7-e7 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space f1 is h1

42 h1 f1-d1 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var h1

1000 10000 100010 1 1 100 100010 1000

q end f1-d1 8 16 34 1 1 4 34 8

bb end f1-d1 8 16 34 1 1 4 34 8

bw end f1-d1 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space a8 is a1

43 a1 a8-c8 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var a1

1000 10000 100010 1 1 100 100010 1000

q end a8-c8 8 16 34 1 1 4 34 8

bb end a8-c8 8 16 34 1 1 4 34 8

bw end a8-c8 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space c1 is a1

44 a1 c1-c8 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var a1

1000 10000 100010 1 1 100 100010 1000

q end c1-c8 8 16 34 1 1 4 34 8

bb end c1-c8 8 16 34 1 1 4 34 8

bw end c1-c8 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space e8 is h1

45 h1 e8-c8 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

1 one bits in var h1

1000 10000 100010 1 1 100 100010 1000

q end e8-c8 8 16 34 1 1 4 34 8

bb end e8-c8 8 16 34 1 1 4 34 8

bw end e8-c8 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space b2 is c1

46 c1 b2-a3 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

2 one bits in var c1

1000 10000 100010 1 1 100 100010 1000

q end b2-a3 8 16 34 1 1 4 34 8

bb end b2-a3 8 16 34 1 1 4 34 8

bw end b2-a3 8 16 34 1 1 4 34 8

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

a1 h1

first 8 16 34 1 1 4 34 8

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

space a7 is p

47 p a7-a5 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

mv is a3-d6, p is #p, o is a3

space a3 is c1

48 c1 a3-d6 8 16 34 1 1 4 34 8

1000 10000 100010 1 1 100 100010 1000

2 one bits in var c1

1000 10000 10 1 1 100 100010 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end a3-d6 8 16 2 1 1 4 32 8

bb end a3-d6 8 16 2 1 1 4 32 8

bw end a3-d6 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end a3-d6 8 16 2 1 1 4 32 8

bb end a3-d6 8 16 2 1 1 4 32 8

bw end a3-d6 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

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

space e7 is b1

49 b1 e7-d6 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

1 one bits in var b1

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end e7-d6 8 16 2 1 1 4 32 8

bb end e7-d6 8 16 2 1 1 4 32 8

bw end e7-d6 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

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

space e6 is P

50 P e6-e7 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

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

space c8 is h1

51 h1 c8-e8 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

1 one bits in var h1

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end c8-e8 8 16 2 1 1 4 32 8

bb end c8-e8 8 16 2 1 1 4 32 8

bw end c8-e8 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

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

space e2 is b1

52 b1 e2-e6 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

1 one bits in var b1

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end e2-e6 8 16 2 1 1 4 32 8

bb end e2-e6 8 16 2 1 1 4 32 8

bw end e2-e6 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

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

space g8 is g1

53 g1 g8-h8 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

1 one bits in var g1

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

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

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

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

first 8 16 2 1 1 4 32 8

mv is e6-d6, p is #p, o is e6

space e6 is b1

54 b1 e6-d6 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

1 one bits in var b1

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end e6-d6 8 16 2 1 1 4 32 8

bb end e6-d6 8 16 2 1 1 4 32 8

bw end e6-d6 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

mv is b7-a8, p is #p, o is b7

space b7 is c1

55 c1 b7-a8 8 16 2 1 1 4 32 8

1000 10000 10 1 1 100 100000 1000

1 one bits in var c1

1000 10000 10 1 1 100 100000 1000

g1

Array
(
    [0] => a1
    [1] => b1
    [2] => c1
    [3] => d1
    [4] => e1
    [5] => f1
)

q end b7-a8 8 16 2 1 1 4 32 8

bb end b7-a8 8 16 2 1 1 4 32 8

bw end b7-a8 8 16 2 1 1 4 32 8

first 8 16 2 1 1 4 32 8

Continue because mv is empty

firstrank is RQBNNBKR

Castling with Rook! h1 f1 a1 d1 h1 f1






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

Viewing Game

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

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.