Showing posts with label game. Show all posts
Showing posts with label game. Show all posts

June 24, 2013

Fix Your Window

Click to try out the program!
In my original Smash It! program, I had a message that said, "Want me to fix it? Ask in Tips & Feedback!" I didn't want it to automatically fix itself, because that wouldn't be true to life. When you break a window, you live with the consequences.

Well, a lot of users wanted me to fix the window. One of the users figured out how to fix it himself, and started telling everybody how to do it. I didn't like that; it totally ruined the point of my program. Fixing a window shouldn't be easy. So I modified my code, and his solution was outdated.

He found a new method for fixing the windows. At first he didn't want to tell me about it, for fear I would circumvent, but finally he decided I wouldn't be able to. Laughing with pleasure, he wrote a fix-it program that used the method to fix windows, and started telling everybody about it.

I didn't like that. So I came up with a way to make his program stop working. I set things up using HTML5 storage so that his program worked great... for him, at least. For everybody else, it was useless. He didn't think of fixing it, because whenever he tested it, it worked. In fact, he happily talked about how good he was at programming. I just played along; ignorance is bliss.

I told him about it the next day. It's no fun to fool someone if they never know they were fooled.

Anyway, other users were writing fix-it programs, too. I decided it was time for me to write a decent one - a fix-it program that was guarantied to work. I didn't want it to ruin the point of my original program, so I created some virtual money; you could pay 30 virtual dollars to fix the window. My program made it to the top of the hot list; it was as popular as the original program.

June 23, 2013

Smash It!

Click to start


This was a very popular program I wrote. It makes use of HTML5 storage to remember whether the window is broken. Try clicking on things, and see what happens!

March 20, 2013

Block Breaker

Block Breaker is an edited version of Super Ball. I added blocks and a couple more features for a very fun and addictive game. Here it is:

March 14, 2013

Super Ball

The Khan Academy computer science module uses JavaScript with a library called Processing. Processing is what allows you to draw graphics, and JavaScript is what does everything else (which can be quite a lot).

When I first learned about Khan Academy, I had never programmed in JavaScript before, let alone Processing. But I had been programming for so long in other languages that I caught on very quickly, and wrote my first program: Super Ball.

I had sometimes thought about how cool a bouncing ball program with gravity would be, and when I found Khan Academy's computer science module, I just had to write one. So here it is; if you get a high score, just comment. Enjoy!