abassibe / Gomoku

2 stars 0 forks source link

Improve AI #71

Closed demonoidv closed 3 years ago

demonoidv commented 3 years ago

This little PR aims at making the AI play a bit better.

To achieve that, I changed the score values used when computing the FScore and also applied a greater weight on the defense score when the AI is directly threatened (it should force the AI to play a defensive move even if there is a better attack to play).