12 soda postmortem

Well, 12 sodas down and things are looks quite good. Coffeescript was an excellent choice, even though I’ve never touched it (or javascript) previously. I’ve got animation working, sound playing at the right times, and attributes updating. I did not think I would even get this far. Lessons learned:

  1. If you’ve typed a command three times, you need an alias/shell script already.
  2. git commit early, git commit often.
  3. If you’re a python programmer, ease off the “:” on loop entry/branching
  4. Coffeescript wants “:” in class var declarations, not “=”
  5. There are very few, if any, useful Coffeescript examples on the web
  6. What few Coffeescript examples there are exist in a useless snippet form that cannot just be copypastaed
  7. Vim and Coffeescript don’t play well together in terms of syntax error detection, but that’s really Coffeescripts fault.
  8. Javascript/Coffeescript scoping rules are absolutely ridiculous and cannot be understood completely, ever, by anyone.
  9. Keeping everything very simple has paid off well; at this point, even if I don’t get around to beautification, I have a playable game.
  10. Get the code done first, then worry about the eye candy.

I’ll have a demo coming up shortly before bed tonight, and I’ll spend tomorrow perfecting the graphics and implementing your suggestions.