Matt Diamond

Results 17 comments of Matt Diamond

@olistic Gotcha! Hmm, guess I'll have to rethink my strategy for the last beginner level. It would be nice if I had some way of knowing which direction damage was...

@olistic Sure. On the topic of "what would make my life easier", my difficulty on the final level is the task of prioritizing which enemy to attack first. The hero...

@olistic Ah, so `space.getUnit()` is legal after all? Nice. I’m curious how other players programmed the warrior without this feature available. Is there a message board where people share their...

I partially agree with the above comments. I think that the player needs to know at least one of two things: 1) the direction a specific attack came from, OR...

@olistic Was just checking out the code, I like what you did with the SensedSpace and SensedUnit concepts. Any plans to break those out into small classes? You could basically...

Sure is... check out the FormData object: https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest/FormData/Using_FormData_Objects Many people have asked about this, so I may just build in a convenience method to upload the WAV. Anyway, hope this...

I don't have that much experience with writing unit tests, but feel free to submit a pull request!

This is an interesting idea, especially because node can write to disk, conveniently replacing your original script file with the new de-fucked version (and without the burden of silly "warnings").

Why do you want to create a File object? Maybe there's another way to accomplish what you're trying to do.