org.jscience.computing.game.puzzle
Class SolitaireSamples

java.lang.Object
  extended by org.jscience.computing.game.puzzle.SolitaireSamples

public class SolitaireSamples
extends java.lang.Object

class with static methods to provide standard configurations for Solitaire games. Simply use the return values for the constructor of a Solitaire game. Example:
Solitaire game = new Solitaire("arrow game", SolitaireSamples.getArrow());

See Also:
Solitaire

Method Summary
static int[][] getArrow()
          DOCUMENT ME!
static int[][] getCross()
          DOCUMENT ME!
static int[][] getDiamond()
          DOCUMENT ME!
static int[][] getFireplace()
          DOCUMENT ME!
static int[][] getPlus()
          DOCUMENT ME!
static int[][] getPyramid()
          DOCUMENT ME!
static int[][] getRandomField(int numberOfPeggs, long randomSeed)
          DOCUMENT ME!
static int[][] getSolitaire()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSolitaire

public static int[][] getSolitaire()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getRandomField

public static int[][] getRandomField(int numberOfPeggs,
                                     long randomSeed)
DOCUMENT ME!

Parameters:
numberOfPeggs - DOCUMENT ME!
randomSeed - DOCUMENT ME!
Returns:
DOCUMENT ME!

getCross

public static int[][] getCross()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPlus

public static int[][] getPlus()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getFireplace

public static int[][] getFireplace()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getArrow

public static int[][] getArrow()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPyramid

public static int[][] getPyramid()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDiamond

public static int[][] getDiamond()
DOCUMENT ME!

Returns:
DOCUMENT ME!