Giter Site home page Giter Site logo

gobangchess_ai3.5's Introduction

GobangChess_AI3.5

Starwing - 五子棋AI3.5版. 能够进行自我对弈并从中学习。

代码结构与3.0相同 https://github.com/Starry-Wing/GobangChess_AI3.0

在3.0的基础上,增加神经网络卷积层数,增加特征通道数

特征通道包括:

1.当前玩家的棋子位置(board_state[0]):对应棋盘上当前玩家的棋子位置,当前玩家的棋子用 1 表示,其他位置用 0 表示。

2.对手玩家的棋子位置(board_state[1]):对应棋盘上对手玩家的棋子位置,对手玩家的棋子用 1 表示,其他位置用 0 表示。

3.空白位置(board_state[2]):对应棋盘上空白位置,空白位置用 1 表示,其他位置用 0 表示。

4.当前玩家连续棋子计数(board_state[3]):对应棋盘上每个位置的当前玩家连续棋子计数(水平、竖直、右斜、左斜方向)。此通道为每个位置存储当前玩家在该位置及其相邻位置的连续棋子数量。

5.对手玩家连续棋子计数(board_state[4]):对应棋盘上每个位置的对手玩家连续棋子计数(水平、竖直、右斜、左斜方向)。此通道为每个位置存储对手玩家在该位置及其相邻位置的连续棋子数量。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.