Today’s exercise was robot name. You had to make a unique random robot name. The tricky part was making the name field read only. I think I could have used this a day or two ago when I was talking about how tests shouldn’t dictate implementation. Anyway I tried doing some strange javascript stuff through prototypes to mark the field as read only. That didn’t work. It might have worked if I had “use strict” turned on. Instead I found out you can make getters/setters so I changed name to _name and built a getter for name that returned _name.

Today I got the channel 1 full test app running and bug fixed from me typing (most of) it in. I did need to update all of the changed ids in the hardware include file. The channel 2 app was mostly the same thing just with some constants changed and some sections removed. So I did a diff between the two and just did the edits required and called it good.

After going through the full test apps for audio channels 1 and 2, I am seeing problems in my makefile again. It doesn’t appear that the .chr files are getting re-created. This wasn’t a problem previously because everything shared the same set of tiles but the full test apps have their own set of tiles. I did some horrible things to fix it (an extra rule for each full test app).

For channel 1 being so long, channel 2 was only one page. I was kind of disappointed. 17 pages left in the chapter but I don’t know how many apps that is.