Day 78: This Was Messy But It’s Done

I finished the Tic Tac Toe Game. I started off strong but the end got really hectic. I guess my design wasn’t as clean as I thought it was LOL. I took a lot away from this for future reference. The key is speed and thoughtfulness not just one or the other. I am still working out that balance but I have to keep moving forward. On to the next one. Step by step I will get better.

TLDR;

Okay, so here are the highlights of what I did:

  • JavaScript -> Looked up event handling in JavaScript and realized I can reference an event handler inside of itself just like with recursive functions calling themselves. I used this knowledge to remove the gameboard’s cell click event listener once it had already been selected. It worked well for the tic tac toe game since a spot can only be selected once.
  • Practice -> Finished working on the Tic Tac Toe project. I am not happy with how I finished things. In my pursuit of speed the quality of my code dropped off. I need to keep practicing to improve the balance between my speed and code quality. I just have to hold this frustration and channel it into the next project. Project Repo


Goal For Round 7 of the #100DaysofCode Challenge

This is my seventh round of the “#100daysofcode” challenge. I will be continuing my work from round five and round six into round seven. I am currently working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal is to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in turn derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.

I have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects.