迷宫

照常, 我厌倦了,所以我写了一个在JavaScript游戏. 这是一个称为迷宫角色扮演游戏 (你可以找到它 这里) 它遵循一个迷失在一个山洞里的家伙是谁. 你一定要收集棒摧毁万桶, 木板越过水, 彩色门的钥匙, 多.

这里就是看起来像迷宫:

Playing Level 10 of Labyrinth
演奏水平 10 迷宫

我知道这是可怕的绘制, 但我画了自己的一切. 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的供电计算器

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: