Server impl.

Added several methods of game control on server-side.