MarkZH / Genetic_Chess

An amateur attempt at breeding a chess-playing AI.
MIT License
10 stars 2 forks source link

Check whether reversing file-first/rank-first ordering/indexing makes a speed difference #143

Open MarkZH opened 8 months ago

MarkZH commented 8 months ago

square_index = 8*(file - 1) + (rank - 'a') or square_index = (file - 1) + 8*(rank - 'a')