fsmosca / HeadsUp

A chess engine adapter that can combine 2 engines and play as one. First engine may play in the middle and the other engine may continue to play for the rest of the game.
GNU General Public License v3.0
1 stars 0 forks source link

new switch engine criteria #5

Open tissatussa opened 3 years ago

tissatussa commented 3 years ago

i see the cfg file : it has 2 factors which determine the switch .. could another criteria exist which determines the engine-to-use in a certain "position type" ? :: closed centre, with(out) queens, nr of open lines, nr of pieces attacked, etc. or combination of such factor values to create some new hybrid engine concept ?

fsmosca commented 3 years ago

There is no other criteria of switch. But other criteria can be added. Calculation of closed center, number of open lines, number of pieces attacked may take time to calculate. I can use the python-chess module to get those conditions.

If the usage is just for infinite analysis then there would be no issue on calculation time.