Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GeneralPoxter/gomoku-go
Beta Version 1.0
https://github.com/GeneralPoxter/gomoku-go
chinese-game go gomoku
Last synced: 28 days ago
JSON representation
Beta Version 1.0
- Host: GitHub
- URL: https://github.com/GeneralPoxter/gomoku-go
- Owner: GeneralPoxter
- Created: 2019-10-25T15:05:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T19:19:03.000Z (6 months ago)
- Last Synced: 2024-08-03T23:30:46.324Z (4 months ago)
- Topics: chinese-game, go, gomoku
- Language: JavaScript
- Homepage: https://gomoku-go.vercel.app/
- Size: 834 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-golang-repositories - gomoku-go
README
# 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:
* Aplet123's [Chinese chess project](https://github.com/Aplet123/chinese-chess)
* A.'s Mahjong project