tic tac toe game
Howsit guys ive created a game of tic tac toe, but im not sure at the end how to save all my data in a text file for the 2 players. Any ideas?? And also how to view the game history for the 2 players.
I can help you to save and read a text file. If you completed the Java course on SoloLearn, you can go to the bottom to the course to find "Exceptions, Lists, Threads & Files" This lesson shows about files and other cool stuff. But you'll need the formatter class. Go ahead and look at the mini-lessons in "Exceptions, Lists, Threads & Files" Working with files, Reading a file, and creating a file. Those will help you. TIP: Use formatter.