Can anyone guide me to make a tic-tac-toe in java without showing too much code?

Just a function call I mean. For example:

initializeBoard();
player1turn();
printBoard()

My confusin is with function parameters what should I keep to make it work. That’s why. The design of program is an issue for me, writing the code isn’t.

ah you are in same place like I was in 2021 :slight_smile:

  • I suggest watching https://www.youtube.com/watch?v=KwP9pTEwdrE&ab_channel=ROOTsTechnology, min 5 times and making notes along the way

  • Write your own code without external help ( you can Google, not ChatGPT though ), just get it working somehow, doesn’t matter how bad quality code is

  • This is the only and hard way to build your coding muscles, after building few complex projects, you will have enough mind coding muscles well built to keep you going.

Don’t ASK for any help at this state, let’s start building “coding muscles” the hard way

All the very best

few others tips from my side, which I follow even today

  • Take paper and pen
  • Write down problem
  • Break down to the smallest chunk possible
  • Now start writing code to solve that smallest problem
  • If you can’t write them again try to break down further

You will eventually get used to this technique