Skip to content

Conversation

@jjoshua2
Copy link
Contributor

@jjoshua2 jjoshua2 commented Mar 15, 2019

Need depth... I saw a piececount in bitboard.

Having a if winning/losing check would be good. We don't want to apply penalty if we're behind more than 100cp I think. But when you are black against a weak opponent you still want it...

if q < 0.7 && q > 0.3

Need depth... I saw a piececount in bitboard
//Apply trade penalty if not very winning or losing.
//TODO: Try only if Allie losing
@manyoso
Copy link
Owner

manyoso commented Mar 15, 2019

I think this should be done in Node::setQValueFromRaw by modifying the stored m_qValue for non-exact nodes.

Also, you can get m_game.activeArmy() to determine which side the node is on. Also, you can use m_game.lastMove().isCapture() instead of bitboard.

Awesome work, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants