If you use the dat file , you can load and save the array of numbers You can take advantage of the value that is read from the array as HP(ex:money,my coordinate) of progress