DEV Community

Bright-Anyawe
Bright-Anyawe

Posted on

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

Top comments (0)