mkRPG
Classes | Variables
server Namespace Reference

Classes

class  Server

Variables

tuple PARSER = ArgumentParser(description="Generic game server.")
string help
tuple ARGS = PARSER.parse_args()
tuple SERVER = Server(ARGS.path+"/")

Detailed Description

This module handles the server of the game.
The server runs the main loop and receives the request of actions
from the client. If the actions are allowed by the description of the game
in the xml files, all clients are asked to execute the actions.

Variable Documentation

string server::help
Initial value:
00001 "Path of the game directory, should contain game.xml.\
00002                          If this argument is not present, const.py will be used."
 All Classes Namespaces Functions