JonathanSheng / Connection-Games

Python implementation of turn-based connection board games
1 stars 1 forks source link

Evaluate Function #1

Open JonathanSheng opened 4 years ago

JonathanSheng commented 4 years ago

Currently, the evaluate function searches for the highest value of potential streaks. Improve it to take into account threats from opponents, center position, etc.

JonathanSheng commented 4 years ago

Does not block when the opponent reaches connect four, only achieves its own streaks.

JonathanSheng commented 4 years ago

Changed minimax to TRUE, look into why it plays better. Also, changed evaluate to block the opponent's two, three, four in a row. Still doesn't win against human tester