+EXAMPLES
+
+ 1. % ./shogi-server test 4081
+ Run the shogi-server. Then clients can connect to port#4081.
+ The server output logs to the stdout.
+
+ 2. % ./shogi-server --max-moves 0 --least-time-per-move 1 test 4081
+ Run the shogi-server in compliance with CSA Protocol V1.1.2 or before.
+
+ 3. % ./shogi-server --daemon . --pid-file ./shogi-server.pid \
+ --player-log-dir ./player-logs \
+ test 4081
+ Run the shogi-server as a daemon. The server outputs regular logs
+ to shogi-server.log located in the current directory and network
+ messages in ./player-logs directory.
+
+ 4. % ./shogi-server --daemon . --pid-file ./shogi-server.pid \
+ --player-log-dir ./player-logs \
+ --floodgate-games floodgate-900-0,floodgate-3600-0 \
+ test 4081
+ Run the shogi-server with two groups of Floodgate games.
+ Configuration files allow you to schedule starting times. Consult
+ floodgate-0-240.conf.sample or shogi_server/league/floodgate.rb
+ for format details.
+
+FLOODGATE SCHEDULE CONFIGURATIONS
+
+ You need to set starting times of floodgate groups in
+ configuration files under the top directory. Each floodgate
+ group requires a corresponding configuration file named
+ "<game_name>.conf". The file will be re-read once just after a
+ game starts.
+
+ For example, a floodgate-3600-30 game group requires
+ floodgate-3600-30.conf. However, for floodgate-900-0 and
+ floodgate-3600-0, which were default enabled in previous
+ versions, configuration files are optional if you are happy with
+ default time settings.
+ File format is:
+ Line format:
+ # This is a comment line
+ DoW Time
+ ...
+ where
+ DoW := "Sun" | "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" |
+ "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" |
+ "Friday" | "Saturday"
+ Time := HH:MM
+
+ For example,
+ Sat 13:00
+ Sat 22:00
+ Sun 13:00
+
+ PAREMETER SETTING
+
+ In addition, this configuration file allows to set parameters
+ for the specific Floodaget group. A list of parameters is the
+ following:
+
+ * pairing_factory:
+ Specifies a factory function name generating a pairing
+ method which will be used in a specific Floodgate game.
+ ex. set pairing_factory floodgate_zyunisen
+ * sacrifice:
+ Specifies a sacrificed player.
+ ex. set sacrifice gps500+e293220e3f8a3e59f79f6b0efffaa931
+