# ASDF Game server game meta files description # # 1. Comments # 2. Why game meta files? # 3. Meta file format # # # # 1. Comments # # In meta files comment lines should start with a '#' character, as every line in this file, for example. # There must not be any spaces or other characters before the '#' character or the line is interpreted as a meaningful # statement about a game, necessary for the server and the client to get it started. # # # 2. Why game meta files? # # We think it is important to be able to add new games to the server without the trouble of restarting the server, so # every time a client asks for a list of different games available on the server, we read the server plugins/meta/ # directory for information. Every file found is attempted to be interpreted as a game information file, and thus # new games can be added on the fly. # # # 3. Meta file format # # A meta file is allowed to have any number of comment lines. In addition to this, the meta file should # describe the following information about the game in question: Game name, Name of the class that the server should # start when this game is created, the name of the game logic class the client should run when joining this game, # the name of the game view class the client should run when joining this game. # # An attribute to be specified is given as the first word on a line. Characters being in upper or lower case # is irrelevant and any combination of lower/upper cases will be accepted. # The attribute names are as follow: # GameName # PanelName # ServerGame # ClientGame # VariantNames # # Each attribute value is a one word string entailing the attribute name, separated by a white space or tab. # Any spaces in the middle of the attribute value will result in loss of information. For example the line: # "GameName Great Rally", means that the name of the game is "Great" instead of "Great Rally", which is probably # what the hypothethical game writer had in mind.