Labyrinth

Kuten tavallista, I got bored so I wrote a game in JavaScript. It’s a role-playing game called Labyrinth (you can find it here) which follows a guy who gets lost in a cave. You have to collect sticks to destroy barrels, planks to cross water, keys for colored doors, and more.

Here’s what Labyrinth looks like:

Playing Level 10 of Labyrinth
Playing Level 10 of Labyrinth

I know it’s horribly drawn, but I drew everything myself. I’m such a bad artist that it’s a miracle that the key even looked like a key. And that glowing yellow/orange/red thing is a lantern.

JavaScript-virtalähteen laskin

I was bored (and my calculator was out of batteries), so I figured I’d take a crack at developing a web-based calculator. (You can find it at hathix.com/etc/calculator. Basically, you can enter some commands (variable declarations or function calls) and the calculator will use JavaScript power to find the answer.

The neatest thing about the calculator is that it has some built-in functions (anything from finding a number’s square root to finding the LCM of two numbers to finding the solutions to a quadratic equation.)

Here are some commands you can enter into the calculator and what they do: