# Package edu.wisc.game.engine

# Top-level Game Server code

This package contains top-level game-server code, which deals with managing rule sets and running the captive game server.

For more details, see Captive Game Server

.

- Class Summary
  Class | Description
  --- | ---
  AllRuleSets | Stores rule sets, and allows lookup by name.
  Captive | The main class for the Captive Game Server
  ConvertRules | This class is used for a one-off project: converting the list of rules found in Kevin's GUI (stored in a JSON file there) to text files describing rules in a similar, but slightly different, format used by our server.
  GameSocketServer | The socket implementation of a captive game server
  Order | An Order object describe a built-in or custom ordering of
  RuleSet | A RuleSet describes the rules of a game.
  RuleSet.Atom | Syntax:(counter,shape,color,position,bucketFunctions)
  RuleSet.BucketList | A BucketList represents the information about the destination buckets given in the "buckets" field of an atom.
  RuleSet.PositionList | Represents the restrictions on the positions from which game pieces can be picked
  RuleSet.Row | A row object represents the content of one line of the rule set description file, i.e.

- Enum Summary
  Enum | Description
  --- | ---
  Order.PositionSelector | Names of built-in (predefined) orders
  RuleSet.BucketSelector | The list of variables that can be used in the bucket expression

- Exception Summary
  Exception | Description
  --- | ---
  GamePlayException |