abassibe / Gomoku

2 stars 0 forks source link

Try to make AI less stupid when dealing with open split three #106

Closed demonoidv closed 3 years ago

demonoidv commented 3 years ago

The idea here is to make the AI play a bit better against open split three which, for some reason, --don't ask why. I have no idea-- is unable to play a counter move against that.

This PR aims at fixing this behavior by making the method responsible for generating the potential next moves returns when there are threats, and by threats, I mean open split three obviously!