Package net.sourceforge.yagurashogi.server

Yagura Shogi Server is just another shogi server compatible with the CSA Server Protocol v.1.1.

See:
          Description

Class Summary
CSAProtocol Protocol defining how to deal with queries in CSA format.
ExtendedShogiProtocol Mechanism to process queries in Extended Protocol and CSA format.
Game Object containing all the information about proposed and started games.
GameMonitor A utility that works in background, watches over games and checks if times aren't up.
PairingEngine A utility that works in background, looks up waiting players and tries to pair them up.
Player This object manages all the information about each connected player.
ShogiServer The main Shogi Server that manages multiple connections.
 

Package net.sourceforge.yagurashogi.server Description

Yagura Shogi Server is just another shogi server compatible with the CSA Server Protocol v.1.1. It's also got some more features like chat.

Protocol

All of the standard CSA Server Protocol v.1.1 is implemented. The protocol in Yagura Shogi Server is extended a little bit. These are new messages:
CommandDescriptionExample reply
%%STATEReturns player's current state##[STATE] GAME_WAITING
%%IDLE [ON/OFF]Sets player's state between IDLE and GAME_WAITING. While idle, you won't get random game challenges.##[IDLE] OFF
%%WHOReturns the list of connected players and their states.##[WHO] spect : GAME_WAITING
##[WHO] alakazam : GAME
##[WHO] frodo : GAME
##[WHO] +OK
%%CHATSends chat message to other players. Either to all the waiting people or, if you're playing, to your opponent.##[CHAT] <spect>hi there!
%%PINGJust pings.##[PONG]

Version:
0.1
Author:
Tomasz Szczesniak-Szlagowski (spect88@users.sourceforge.net)