Still tic-tac-toeing...

CodeCaraCodeCara
2 min read

(Note: this should have been posted on Sunday 20 Oct. 24)

Things I've worked on/completed since my last post…

I made very little progress this week for various reasons, so this post will be very short, but I am still working on Tic-Tac-toe

More specifially, I worked on:

  • the CSS and HTML for the UI

  • the displayController function (just started)

Things that went well...

  • The CSS and HTML part was easy! (Even though it’s just a rough layout).

Things that didn't go quite so well...

  • For some reason, I struggled with making a variable within a function accessible outside of that function, not realising that I could assign it to the property-value pair of another (factory) function’s returned object, making it accessible outside of hte original function .

Things I've learnt/need to improve on...

  • For this project, there are a mountain of things I could improve on…However, as suggested by the project itself, I think I would have benefitted greatly by figuring out (on paper possible) what to return to each object in each function.

    I did not do this mainly because I struggle to understand how everything was supposed to fit together intially, although I think I have a better idea now.

Plan for the forthcoming week...

  • I at least hope to have all of my code (including the displayController) working correctly. Ideally though, I would love to finish this as I was a lot slower doing this project than I anticipated (mainly due to my poor understanding of how it should have been approached at the start, as the concept of OOP was completely new to me)
0
Subscribe to my newsletter

Read articles from CodeCara directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

CodeCara
CodeCara