Coder Social home page Coder Social logo

gomoku-go's Introduction

gomoku-go

Beautiful website with options to play local and online gomoku and go.

Rules

Gomoku

  • Black goes first
  • Alternate turns, placing down a piece on an empty intersection each turn
  • First to connect (vertically, horizontally, or diagonally) exactly 5 pieces of their color wins

Go

  • Black goes first
  • Alternate turns, with the option of placing down a piece on an empty intersection or passing each turn
  • When both colors consecutively pass, game ends and board is scored
  • Liberties: a piece or a chain of directly adjacent pieces of the same color has liberties if it or any of its constituents is directly adjacent to an empty intersection
  • Pieces are captured when they have no liberties left (i.e. adjacently surrounded by opposing pieces)
  • Capturing opposing pieces takes higher priority than self capture
  • Self-capture is illegal (i.e. a player cannot make a move that would instantly result in their piece(s) being captured)
  • Ko rule: a move cannot replicate a previous board position (prevents infinite gameplay)
  • Board is scored using area scoring: Color's score = # of pieces of that color on board + # of empty intersections exclusively surrounded by that color
  • Color with higher score wins

Online game rooms

Create or join an online game room for either gomoku or go by entering desired room code into the "Join code" input box. The room can be exited by pressing the "Restart [game type]" button, by entering a different room code in the input box, by refreshing the page, or by closing the tab.

Commands

Commands are featured in the chat, both local and online, and a list of their calls and functionalities can be produced by entering "/cmd" into the chat input box.

Chinese Game Suite

Proud part of the Chinese Game Suite.
Made in conjunction with:

gomoku-go's People

Contributors

dependabot[bot] avatar generalpoxter avatar

Stargazers

 avatar

Watchers

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