Though there are some plug-ins out there to make Jasmine work with canvas rendering, I skipped those, so I didn’t truly test everything. But I did test all the non-drawing aspects of the game.
The game is simple enough that I don’t think the unit testing helped too much, but if I were to expand the game it is useful to have the existing tests in place.
The tricky thing about this game was all the math. Do you remember those smart aleck kids in math class who would ask the teacher when they would ever use the math that they were learning? Well, at times I felt like my work on this game justified as an answer for all those teachers. This might have been the first time I ever had to find the intersection of two line segments outside of a school setting.