Rewrite game phase for drop games
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 15 Dec 2018 10:18:36 +0000 (11:18 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 15 Dec 2018 10:25:30 +0000 (11:25 +0100)
commit6f5236805efbbd9b18a301673f54cec725818927
tree16a267aa2c85a46b7687fe50368cf10dd13c81b3
parent4706b5a5d88004d0d8107d2f69e959540768e298
Rewrite game phase for drop games

Define game phase based on pieces in hand,
and score king danger independent of game phase.

shogi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 624 W: 357 L: 248 D: 19

minishogi
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 468 W: 261 L: 161 D: 46

judkinshogi
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 508 W: 281 L: 217 D: 10

crazyhouse STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 613 W: 330 L: 267 D: 16
http://35.161.250.236:6543/tests/view/5c13f9786e23db7639060ce0
src/evaluate.cpp
src/material.cpp
src/variant.h