- Am I correct with my algorithm: Load the info first from the .txt file, add them up together with the current players' info, sort them all, overwrite the .txt file with the new info, then display them (only the top 5 though)?
- As of now this bunch of code only gathers up data from the txt file, adds up the info from the winner of the current game (which in the current code the name is
String and the score is 40), and overwrites the .txt file with both the old& new info. I'm now about to work on how to sort all the stuff, but I'm not sure how I will add up altogether the info from the file and the info from the current players and add them into a single list to be sorted. I probably should get rid of the two
ArrayLists but again I'm not sure how I will proceed from that.
- Wow I'm a mess, my head is about to explode and help would be hugely appreciated right now