Need help with tic tac toe pseudocode

Yes it can be overwhelming - all that means is the problem is too vague for you to comprehend - try to break it down into smaller pieces till you find a small enough subproblem that has a clear statement

a clear statement is one where the meaning of each term is clear enough for you to work out a solution with pen and paper that can be confirmed against the problem statement

a solution is a set of instructions in everyday language that is guaranteed to produce the right answer if followed blindly by anyone without guidance

once you have a pen and paper solution you can start to express it in programmatic terms

programmatic terms are variables, objects, arrays, functions, loops, conditions etc

it all starts with the smallest problem you can state and solve

it’s small enough if you don’t get stuck trying to solve it - if you do break it down even more

we can go through the exercise right here - let’s start with someone providing a problem statement

1 Like