Merge pull request #125 from bale-go/obvious_two

two_obvious_stricter
This commit is contained in:
sanderland authored and GitHub committed 2020-07-05 14:08:27 +02:00
commit 7802d4f9e8
1 file changed
+1 -1
+1 -1
View File
@@ -199,7 +199,7 @@ def generate_ai_move(game: Game, ai_mode: str, ai_settings: Dict) -> Tuple[Move,
board_squares = size[0] * size[1]
if ai_mode == AI_RANK: # calibrated, override from 0.8 at start to ~0.4 at full board
override = 0.8 * (1 - 0.5 * (board_squares - len(legal_policy_moves)) / board_squares)
overridetwo = 0.9 * (1 - 0.5 * (board_squares - len(legal_policy_moves)) / board_squares)
overridetwo = 0.85
else:
override = ai_settings["pick_override"]
overridetwo = 1.0