# CNN神经网络五子棋 **Repository Path**: bzsome_admin/cnn_gobang ## Basic Information - **Project Name**: CNN神经网络五子棋 - **Description**: 基于go语言-CNN神经网络五子棋 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-29 - **Last Updated**: 2022-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CNN神经网络五子棋 参照教程:https://gitee.com/lizhigong/DQN-9pointgame.git ## 说明介绍 ### 玩法说明 使用ANN网络实现机器自动玩九宫格游戏,而且越玩越厉害,目前已经很难和AI对弈获胜,要么输要么平。 算法是deepQlearning。 ### 软件架构 棋盘3x3 -1代表空格 1代表白棋 2代表黑棋 (可以通过设置棋盘大小和获胜连子个数条件改成 五子棋游戏) 神经网络用的ANN网络 算法用的是deenQ-learning 强化学习算法 ### 使用说明 下载后运行Main.py即可 ### 安装说明 - 首先安装conda - 使用conda安装python3.6 (注意TensorFlow1.x最高支持python3.6) ``` conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes conda create -n python36 python=3.6 conda activate python36 ``` - 安装tensorflow ``` pip install tensorflow==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple pip install numpy==1.16.4 -i https://pypi.tuna.tsinghua.edu.cn/simple ``` ## 常见问题 原来在2019年,TensorFlow还不支持python3.7