SuzzukiW / GomokuML

Code for Gomoku Predictions with Convolutional Neural Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Code for Gomoku Predictions with Convolutional Neural Networks


Languages

Language:Python 100.0%