Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 629 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 629 Bytes

Gomoku Predictions ML Model

Structure

  • GRID_WIDTH sets the width of each grid in pixels
  • COLUMN and ROW set the number of columns and rows in the grid
  • list1 represents the pieces placed by the AI
  • list2 represents the pieces placed by the human player
  • list3 represents all the pieces placed on the board
  • list_all is a list that stores all possible positions on the board
  • next_point is used to store the next move of the AI
  • ratio is a value used in the evaluation function
  • DEPTH sets the maximum depth of the negamax search
  • shape_score is a list that defines the scores for different shapes on the board.