# tictactoe-ai **Repository Path**: tpig/tictactoe-ai ## Basic Information - **Project Name**: tictactoe-ai - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-10 - **Last Updated**: 2022-09-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 井字棋 AI ## 算法一: minimax 搜索 ## 算法二: 2.1 自己或对方是否有“二连”,如果有,则在“三连”位置下子或堵截; 2.2 边角是否有空,有则随即选择 2.3 中间位(2,2)是否空,如空,则选择 2.4 四边空位随机选择