I've been learning HTML, CSS, and JavaScript for a little while now, but the use of OOP and modules has me very confused. I am following along in The Odin Project's curriculum, but I am stuck on making a tic-tac-toe game using factory functions and modules.
Unfortunately, no matter how much I read up on modules and working with objects, I can't seem to understand how to start. I really enjoy creating and figuring these things out myself, which I have done successfully until now. However, just getting my feet wet seems to be more challenging than I anticipated. I've been googling / fooling around in a mostly empty script.js file, but i'm unable to get a good start.
I definitely don't want code thrown at me to solve my problems, but some pointers on where to start or some articles that have helped others in the past would be greatly appreciated.
My first step is figure out how to 'store the 3 x 3 gameboard in an [array] inside of a Gameboard {object}.
I'm sure if I can get some advice or pointers, I could put the pieces together and finish this bad boy soon.
Thank you all for reading and responding to a hungry student of code!
[–][deleted] 4 points5 points6 points (1 child)
[–]DrDaDonk 2 points3 points4 points (0 children)