Giter Club home page Giter Club logo

govariation's Introduction

围棋变种


项目介绍

这个项目是围棋创新设计实验。目前还在测试阶段,只能在自己电脑本地自己玩。

体验方法

  1. 下载项目到本地(电脑端),用浏览器打开 index.html 文件
  2. 通过这个链接查看,进入github page

已经实现的

多玩家一盘棋、每个玩家的棋子有不同的颜色。

棋盘大小自定义:可以设置成长方形,长条形状。或者非常大的形状。

棋盘中含有障碍物:“石头”。

棋盘中包含能够移动的障碍物:“火石”。

待实现的

正三角形网格棋盘

正六边形网格棋盘

项目结构

js文件结构:GameObject数字枚举棋盘上的物品种类,就是各种颜色的棋子、空气、墙体(石头)、火石等。

棋盘数据会用二维数组保存 int[][]

下面是英文翻译,给外国人看的

Variations of Go


Project introduction

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.

Experience method

Download the project to the local (computer side) and open index Html file

or click this link to play.

Implemented

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".

To be realized

Regular triangle grid chessboard

Hexagonal grid chessboard

Project Structure

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 [] []

govariation's People

Contributors

littlefean avatar zty012 avatar

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.