Gomoku/Renju is an abstract strategy board game played in a 15 by 15 board. To avoid ambiguity, Gomoku/Renju here uses Renju rule, which means continuous line of five wins with fouls for black stone.
More information about Renju, see Study Renju
In our game, two players take turns as black to move first. There are six rounds in total and each player moves first (as black) for three times.
The openings are selected from Soosorv rule openings, which are balanced for both sides.
Visit GomokuJudge to take part in our competition!
Login in via your JAccount and submit your code altered from the file main.c we provided.
For one side, time limit for initialization is 5s, time limit per move is 5s, and time limit per match is 180s. Memory limit is 350MB. The max size of Source code and Compiled exe are both 1MB.
There are some warnings:
- Do not copy others' source code. All the code you submitted will be checked for plagiarism. Copycats will fail this project!
- Do not share your source code with others. Similar submissions will be treated as plagiarism.
- Do not use alternative account to submit your code, otherwise you will be recognized as a copycat.
- Do not abuse our cloud execution service, such as intentionally trying to shutdown our judge machine.
(WIP)
Dependencies:
- Node.js
- MongoDB
- Redis
- rabbitMQ
Install dependencies on Debien/Ubuntu
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
$ nvm install 9 && nvm use 9
$ sudo apt-get install mongodb redis-server rabbitmq-server
If you are in Mainland China, it's recommended to use registry by taobao
(or use cnpm
)
$ npm config set registry https://registry.npm.taobao.org
Run the following command to create configuration scripts for both debug and in-production deployments.
In DEBUG mode, config.debug.yaml
overrides default settings;
In PRODUCTION mode, config.debug.yaml
and then config.production.yaml
override default settings.
$ touch config.debug.yaml
$ touch config.production.yaml
Edit the configuration according to the comments given. Then, excecute the following command to build the package:
$ npm install -g npminstall
$ npminstall
$ npm run build:server
$ npm run build:ui
Finally, run
$ npm run start
to start the server.
Black, the player who makes the first move, was long known to have a big advantage (win surely under the original rule), so balanced openings from Soosorv rule are selected to eliminate this issue.
The followings are the openings used in the competition. X represents black and O represents white.
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | X | | X | | O | |
+---+---+---+---+---+---+---+
6 | | | | O | | | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | X | | X |
+---+---+---+---+---+---+---+
6 | | | | O | | O | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | X | |
+---+---+---+---+---+---+---+
6 | | | X | O | O | | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | X | | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | O | | X | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | | X | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | O | | |
+---+---+---+---+---+---+---+
9 | | | X | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | | | X |
+---+---+---+---+---+---+---+
7 | | | | X | X | O | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | | X | |
+---+---+---+---+---+---+---+
7 | | | O | X | | X | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | O | X | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | X | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | O | O | | | |
+---+---+---+---+---+---+---+
7 | | | X | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | X | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | | | |
+---+---+---+---+---+---+---+
7 | | | | X | | X | |
+---+---+---+---+---+---+---+
8 | | | O | | | X | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | O | | |
+---+---+---+---+---+---+---+
6 | | | | O | | | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | X | X | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | X | | O | | | |
+---+---+---+---+---+---+---+
7 | | O | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | X | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | O | | | | |
+---+---+---+---+---+---+---+
5 | | | X | | | | |
+---+---+---+---+---+---+---+
6 | | | | O | | | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | X | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | O | | X | |
+---+---+---+---+---+---+---+
6 | | | | | O | | |
+---+---+---+---+---+---+---+
7 | | | | X | | X | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | X | |
+---+---+---+---+---+---+---+
7 | | | | X | | O | |
+---+---+---+---+---+---+---+
8 | | | | | | X | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | X |
+---+---+---+---+---+---+---+
6 | | | | | O | O | |
+---+---+---+---+---+---+---+
7 | | | | X | | X | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | O | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | X | | X | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | | |
+---+---+---+---+---+---+---+
7 | | X | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | X | |
+---+---+---+---+---+---+---+
10| | | | | O | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | O | |
+---+---+---+---+---+---+---+
7 | | | | X | X | | X |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | O | | O | | |
+---+---+---+---+---+---+---+
7 | | X | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | X | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | O | | O | | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | X | | X | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | O | X |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | X | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | O | X |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | | X | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | O | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | | |
+---+---+---+---+---+---+---+
7 | | | X | X | | | |
+---+---+---+---+---+---+---+
8 | | | X | | | | |
+---+---+---+---+---+---+---+
9 | | | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | | | | | |
+---+---+---+---+---+---+---+
5 | | | | X | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | O | |
+---+---+---+---+---+---+---+
7 | | | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | | X | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
4 5 6 7 8 9 10
+---+---+---+---+---+---+---+
4 | | | O | | | | |
+---+---+---+---+---+---+---+
5 | | | | | | | |
+---+---+---+---+---+---+---+
6 | | | | | O | | |
+---+---+---+---+---+---+---+
7 | | X | | X | | | |
+---+---+---+---+---+---+---+
8 | | | | | | | |
+---+---+---+---+---+---+---+
9 | | X | | | | | |
+---+---+---+---+---+---+---+
10| | | | | | | |
+---+---+---+---+---+---+---+
- Renju Net
- 索索夫开局指南2019-07-01
Online Judge System by GomokuFun
Server by Luke Lazurite, Liu Yihao and Shen zheyu
Manual written by Liu Yihao and modified by Sun Yuliang
Openings chosen by Sun Yuliang
JI-SSTIA All Right Reverved