# Gomoku.js **Repository Path**: Tech_Query/Gomoku.js ## Basic Information - **Project Name**: Gomoku.js - **Description**: Algorithm of Nth order Gomoku in OOP - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-11-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gomoku.js **Algorithm of Nth order Gomoku in OOP** [![NPM Dependency](https://david-dm.org/TechQuery/Gomoku.js.svg)](https://david-dm.org/TechQuery/Gomoku.js) [![NPM](https://nodei.co/npm/gomoku-js.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/gomoku-js/) ## Examples of usage Classic **Five in a row** game: ```JavaScript const Gomoku = require('gomoku-js'); const PLAY_01 = 0; const PLAY_02 = 1; var game = new Gomoku( 5 ); game.setChessOf(PLAY_01, 0, 0); game.setChessOf(PLAY_02, 0, 1); // ... // // It will return the index of winner game.setChessOf(PLAY_01, 0, 4); ``` ## Similar works https://github.com/search?l=JavaScript&o=desc&q=Gomoku&s=stars&type=Repositories&utf8=%E2%9C%93