这个项目是围棋创新设计实验。目前还在测试阶段,只能在自己电脑本地自己玩。
- 下载项目到本地(电脑端),用浏览器打开
index.html
文件 - 通过这个链接查看,进入github page
多玩家一盘棋、每个玩家的棋子有不同的颜色。
棋盘大小自定义:可以设置成长方形,长条形状。或者非常大的形状。
棋盘中含有障碍物:“石头”。
棋盘中包含能够移动的障碍物:“火石”。
正三角形网格棋盘
正六边形网格棋盘
js文件结构:GameObject数字枚举棋盘上的物品种类,就是各种颜色的棋子、空气、墙体(石头)、火石等。
棋盘数据会用二维数组保存 int[][]
下面是英文翻译,给外国人看的
This project is an experiment of innovative design of Go. At present, it is still in the testing stage and can only be played locally on your own computer.
Download the project to the local (computer side) and open index Html
file
or click this link to play.
Each player has different colors in a chess game.
Chessboard size customization: it can be set into rectangle and strip shape. Or very large shapes.
The chessboard contains an obstacle: "stone".
The chessboard contains movable obstacles: "flint".
Regular triangle grid chessboard
Hexagonal grid chessboard
Js file structure: GameObject numerically enumerates the types of items on the chessboard, including chessmen, air, walls (stones), flints, etc. of various colors.
Chessboard data will be saved in two-dimensional array int [] []