[shogi-server] Improve timed-up detection. Previously, the server checked if a game got timed up when a player in turn sent no message for a certain amount of time mainly defined by Default_Timeout. If the player sent keep alive frequently, the timed-up detection could be quite delayed. This issue has been addressed. The server now checks timed up with keep alive received as well. Players are notified with TIME_UP not long before games gets timed up.
* [shogi-server] Support a graceful shutdown. (Closes #38544) A file named "STOP" in the base directory prevents the server from starting new games including Floodgate matches.
[shogi-server] Write game results in categorical files The shogi-server now writes down game results in the following files, depending on a game class: - 00LIST: all games - 00LIST.floodgate: floodgate games - 00LIST.others: non-floodgate games (Closes #37492)