@Override
	public void save(){
		old_moves.push(board2048);
		old_score.push(score);
		File file = new File(fileName);
		try {
			BufferedWriter out = new BufferedWriter(new FileWriter(file));
			out.write("" + old_moves.size());
			out.write("\n");
			for(int k = 0 ; k < old_moves.size() ; k++){
				int[][] gameArrayToWrite = old_moves.get(k);
				for(int i = 0; i < size ; i++ ){
					for(int j = 0 ; j < size; j++){
						out.write("" + gameArrayToWrite[i][j]);
						System.out.print(gameArrayToWrite[i][j]);
						out.write(",");
					}
					System.out.println();
				}
				if(k == old_moves.size() -1){
					System.out.println(1);
				}
				out.write("#" + old_score.get(k));
				System.out.println("score:" + old_score.get(k));
				System.out.println("scoreLast" + old_score.get(old_moves.size() -1));
				out.write("\n");
			}
			out.close();
		} catch (IOException e) {
			System.out.println("io exception occured, Nevermore5");
			e.printStackTrace();
		}
	}