How to upload this game on cloud??
I am not able to take layout of game like urs layout means I don’t have side cross buttons green yellow red .
And why we are using constructor to setTitle and other Statements .
I am not able to understand the line buttons [row][col] =button;
TicTacToeGame queries
- It was an example that you can upload the game on cloud to make it accesible everywhere and anywhere.
- The layout will be same. Follow the same approach as in video lectures.
- We use constructor because as soon as the object of the class is created, we will have all these things as default in our game. We need not call any other method.
- button is an object of the class JButton. And buttons is our game. Initially we are just storing an empty char in buttons.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.