The Odin Project's Tic Tac Toe project
Things that I could have improved:
-
make document dependency explicity for the controller module or create a separate controller with that dependency and seperate out the DOM concerns from the game control concerns.
-
I could have used an svg for the board lines and made them look more hand-drawn (then laid them out in a grid with the rest of the images);
-
I could have avoided hiding so many svgs inside the board at the outset and just added them in dynamically as needed.