|
||||||||||||
Re: Codeanalyse
Hello, Hello ;-)
We're talking about this table that prioritizes the generation of moves: Code:
HEXA 31 32 33 34 35 36 37 38 2f 2b 27 23 21 25 29 2d 1f 1b 13 0b 07 09 0f 17 1d 19 11 01 03 05 0d 15 1e 1a 12 02 04 06 0e 16 20 1c 14 0c 08 0a 10 18 30 2c 28 24 22 26 2a 2e 40 3f 3e 3d 3c 3b 3a 39 DECIMAL 49 50 51 52 53 54 55 56 47 43 39 35 33 37 41 45 31 27 19 11 07 09 15 23 29 25 17 01 03 05 13 21 30 26 18 02 04 06 14 22 32 28 20 12 08 10 16 24 48 44 40 36 34 38 42 46 64 63 62 61 60 59 58 57 It is therefore interesting to generate these moves as a priority (pruning). I think I understand that in chess, the pieces are to be centralized as soon as possible. It's worth noting that, although we start from the center, there's a disymmetry between the king and queen sides that's identical for white and black : Same time for black and white generation ? Obviously, this is only for the generation, after that, moves are probably sorted by evaluation function and special cases (captures, promotion, check...) Cordially. Geändert von Mychess (20.11.2023 um 19:05 Uhr) |
|
|