## Uses of Class
edu.wisc.game.sql.GameGenerator

- Packages that use GameGenerator
  Package | Description
  --- | ---
  edu.wisc.game.engine | Top-level Game Server code
  edu.wisc.game.sql | Persistent data structures

- - ### Uses of GameGenerator in edu.wisc.game.engine

    Methods in edu.wisc.game.engine that return GameGenerator
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GameGenerator` | Captive.`buildGameGenerator​(ParseConfig ht, String[] argv)` | Creates a GameGenerator based on the parameters found in the command line

  - ### Uses of GameGenerator in edu.wisc.game.sql

    Subclasses of GameGenerator in edu.wisc.game.sql
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `PredefinedBoardGameGenerator` | This class generates games based on a set of predefined initial boards
    `class` | `RandomGameGenerator` | This class generates random games (with the same rule set and randomly created initial boards) based on the provided parameter range specifications
    `class` | `RandomImageGameGenerator` | This class generates random games (with the same rule set and randomly created initial boards) using image-and-property based game pieces based on the provided parameter range specifications
    `class` | `TrivialGameGenerator` | Just keeps returning the same game every time

    Methods in edu.wisc.game.sql that return GameGenerator
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GameGenerator` | RandomGameGenerator.`buildFromArgv​(RandomRG _random, File f, ParseConfig ht, String[] argv, int ja)` | Builds a RandomGameGenerator from command-line arguments.
    `static GameGenerator` | GameGenerator.`mkGameGenerator​(RandomRG _random, ParaSet para)` | Creates a GameGenerator based on a parameter set.

    Methods in edu.wisc.game.sql with parameters of type GameGenerator
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | Episode.`playGame​(GameGenerator gg, int gameCnt)` | Lets this episode play out until either all pieces are cleared, or a stalemate is reached, or the player gives up (sends an EXIT or NEW command).