Protocols
The games are played over TCP/IP with modified NNGS.
1.Network facility
- Network cables (with an RJ-45 plug on the end) are equipped in the hall. The players will connect their computers to the network with this cable.
- The IP will be distributed with DHCP. However, if there is a network issue interfering IP assignment with DHCP, you may have to set it manually.
2.Game server
- The game server uses a modified version of NNGS 1.1.22.
3.The protocol
- A protocol that extends NNGS is used for
communication. From this tournament, the matching and the start of the
game are operated by the administrator. You are allowed to use only the
following five types of command.
- Commands for login and logout
[User name, sending a password, "quit"] - Commands for playing a game
[Designating a location to put a stone, "pass"] - Commands for simplifying the display
["set client FALSE", "set verbose FALSE"] - Command for inquiring the remaining time
["time"] - Command for terminate the game
["done"]
If a player sends a command other than the above that results in a problem in the server or the other player's program, the player may be punished.
The following commands are used by the administrator to start a game.
- Commands for login and logout
- Communication to start the game
["adminmatch" command]
Only during the test period you can start the test game from the "admin" account for the administrator. During this period, you can log in without a password. You can use this command freely, but on the day of the competition, only the administrator can use this command because a password will be added to the "admin" account.
The command should be used as follows.
With login to player1 and player2, enter the following in "admin" account.
"adminmatch <player1> <player2> <color> 19 <minutes> <seconds>"
For example, you can enter the following command to start "alpha versus beta" with a time of 30 minutes without countdown, with alpha's black.
"adminmatch alpha beta b 19 30 0"
となる。
4.Ending procedure
- The game is terminated when the server has received “pass” twice consecutively, and you ignore the procedure of sending dead-stone information after that (you do not need to follow the procedure). Each player sends “done” immediately after the termination of the game. The result of the game will be decided based on the rules.
5.Test Server
- We have a test server for UEC Cup. Please use it to check how your program
works. (Test period : 11/25~12/12)
Server:nngs1.3-ize.jp
Port: 9696 - About the test server
A modified version of NNGS 1.1.22. is used.
You can connect using a guest account without user registration. Matching operation by the user as in the past cannot be performed. "admin" performs matching by issuing the "adminmatch" command. You can use this command freelyand that password is "admin" on the "admin" account during the test period. It is possible to confirm the operation of the program in the form of "your program vs. yourself".