Can I write a simple TicTacToe Java Program without using an array or JOptionPane?
I have been struggling to write a simple TicTacToe Program. It is just a two player game, where the players alternate turns and choose the position on the board until someone wins. Can someone please help me with the java code? I want to write it without an array or JOptionPane. Any help is greatly appreciated.
- Anonymous9 years agoFavorite Answer
Try this Tic Tac Toe: http://stuff.pyzam.com/toys/tictacscare.swf . It was made in flash.
- Mr EdLv 79 years ago
Yes, it's possible... but I have a question: WHY do you want to write a program without using an array?
Array's often make coding much, much easier. Easier to write, easier to debug...
That's why they are there.