Need help with the Odin Project ‘Tic Tac Toe’

need-help-with-the-odin-project-‘tic-tac-toe’

I have started the Odin Project ‘create the Tic Tac Toe game’, and the instruction say use factory function and modules but first store your gameboard array in the Gameboard object. it been two days now I don’t even know how to continue with it, Any help will be appreciated with some guide to know how to go about it.

NOTE!!: Is it advisable to copy some part of others code on the website to create the App.

const Gameboard = (function() {
let currentPlayer = “X”;
const gameboard = [
“”, “”, “”,
“”, “”, “”,
“”, “”, “”
];
let gameActive = true;
})();
This is where I am so far

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
power-automate-–-4-steps-to-building-a-flow

Power Automate – 4 Steps to Building a Flow

Next Post
8-prep-steps-for-better-local-business-client-meetings

8 Prep Steps for Better Local Business Client Meetings

Related Posts