#Need help with guessing game
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
Could you share the code, and where you're stuck?
im stuck near the end where i file write the info. I want the new info to replace the old info in the file, rather than going below, meaning if there are 4 lines in the file, after filewritiing, there should still be 4 lines
declaration: module: java.base, package: java.io, class: FileWriter
You're currently setting append to true for your filewriter, pass it false.
making it false breaks the password mechanism