Tic tac toe

How to do tic tac toe game in visual studio code java language?

31st Aug 2022, 1:28 AM
DEEMA S - avatar
1 Answer
+ 2
Create a new java project (+ symbol in Java Projects in the explorer sidebar) Choose the location for the project Create a new java file in the src directory that will be created, eg. TicTacToe.java Name the class the same as the file. There are dozens of java tic-tac-toe examples to be found with a simple Internet search, find one you find easy to understand and copy it to your file and modify it as you wish. I just ran this one from GeeksForGeeks on VisualStudioCode just fine https://www.geeksforgeeks.org/tic-tac-toe-game-in-java/ It should run just fine on VS Code bundled java.
31st Aug 2022, 2:07 AM
Stephan Peters
Stephan Peters - avatar