The gameSatusdat file contains give lines of text the first
       The gameSatus.dat file contains give lines of text: the first line contains the character\'s name; the second line contains the character\'s type; the third line contains the number of health tokens; the fourth line contains the number of experience tokens; the fifth line contains the number of supply tokens.  Your job is to develop the code in restoreGame.php as follows:  open the gameStatus.dat file for reading;  red the five lines from the file, close the file.  The code to display the information has been provided.      GAME CHARACTER        GAME CHARACTER   
  
  Solution
//the below line returns an array.Each line of file represents one element of array. //you don\'t have to close the file since it returns an array and not a resource $charater = file(\"gameStatus.dat\"); $charName = $charcter[0]; $charType = $character[1]; $healthTokens = $character[2]; $expTokens = $character[3]; $supplyTokesn = $character[4];
