Saturday, August 9, 2008

ROT

Oh, I was bored on Thursday and put this ROT Javascript together. It was harder than I thought it would be, and the fact that it took me about two hours to do really shows how out of practice I am. That's an embarrassing amount of time.
A decent coder could probably do that in less than ten minutes.
Wash?

Anyway, I think I got the bugs all worked out, so give it your best shot and try to break it.

Labels:

4 Comments:

Blogger Washii said...

I'm not really a JavaScript coder, though...

12:16 PM GMT+9  
Blogger William said...

Still, I bet you could toss something like this together in Java, C++, or C# in ten to twenty minutes.
A lot of the time I spent on this was "Wait, what's the syntax for the substr function? How's that different from the substring function? What? When did that become an array? Aw, damn."

12:22 PM GMT+9  
Blogger Washii said...

I'd be interested to see if I could throw it together in C#, seeing as how I've never used it...

3:18 PM GMT+9  
Blogger William said...

Really? Well, imagine C++ syntax with the .NET libraries behind it. It feels like Java, but with an even more massive set of libraries.
I have to admit that it feels little bit too much like... magic. That's not to say it's easy, it's just different from coding without an omnipresent library.

3:45 AM GMT+9  

Post a Comment

<< Home