  //***********************************************************************/
  function QuiddlerHistory()
  {
    //Define Functions
    this.initCards        = QuiddlerHistory_initCards;
    this.moveCard         = QuiddlerHistory_moveCard;
    this.selectWord       = QuiddlerHistory_selectWord;
    this.endGame          = QuiddlerHistory_endGame;
    this.getCardsString   = QuiddlerHistory_getCardsString;
    this.getHistoryString = QuiddlerHistory_getHistoryString;

    this.initString;
    this.moveHistory = "";
    return this;
  }
  
  //***********************************************************************/
  function QuiddlerHistory_initCards(cards)
  {
    this.initString = "";
    for(var i = 0; i < cards.length; i++)
    {
      this.initString  = this.initString + cards[i].getLetter() + ",";
    }
    this.initString = this.initString.substring(0, this.initString.length-1);
    this.initString = this.initString.toLowerCase();
    
  }
  //***********************************************************************/
  function QuiddlerHistory_moveCard(fromSpace, toSpace)
  {
    this.moveHistory += "/M" + fromSpace + "," + toSpace;
  }
  //***********************************************************************/
  function QuiddlerHistory_selectWord(cards)
  {
    this.moveHistory += "/W"
    for(var i = 0; i < cards.length; i++)
    {
      this.moveHistory  = this.moveHistory + cards[i].getPlace() + ",";
    }
    this.moveHistory = this.moveHistory.substring(0, this.moveHistory.length-1);
  }
  //***********************************************************************/
  function QuiddlerHistory_endGame()
  {
    this.moveHistory += "/E/";
  }
  //***********************************************************************/
  function QuiddlerHistory_getCardsString()
  {
    return this.initString;
  }
  //***********************************************************************/
  function QuiddlerHistory_getHistoryString()
  {
    return this.moveHistory;
  }
  //***********************************************************************/
  //***********************************************************************/
