Package edu.wisc.game.sql

## Class RandomImageGameGenerator

- java.lang.Object
- - edu.wisc.game.sql.GameGenerator
  - - edu.wisc.game.sql.RandomImageGameGenerator

-     public class RandomImageGameGenerator
      extends GameGenerator

  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

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RandomImageGameGenerator​(File ruleSetFile, int[] _nPiecesRange, String[] _allImages)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Game` | `nextGame()` | Generates a game with a random initial board, in accordance with this generator's parameters

    - ### Methods inherited from class edu.wisc.game.sql.GameGenerator

      `advance, getRules, mkGameGenerator`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RandomImageGameGenerator

          public RandomImageGameGenerator​(File ruleSetFile,
                                          int[] _nPiecesRange,
                                          String[] _allImages)
                                   throws IOException,
                                          RuleParseException

      Throws:
        `IOException`
        `RuleParseException`

  - ### Method Detail

    - #### nextGame

          public Game nextGame()

      Generates a game with a random initial board, in accordance with this generator's parameters
      Specified by:
        `nextGame` in class `GameGenerator`