Labyrinth

As usual, I got bored so I wrote a game in JavaScript. It’s a role-playing game called Labyrinth (you can find it 這裡) 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, 和更多.

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的供電計算器

我很無聊 (我的計算器壞了電池), 所以我想我會採取裂縫在開發一個基於Web的計算器. (你可以找到它 hathix.com的/ etc /計算器. 基本上, 您可以輸入一些命令 (聲明變量或函數調用) 和計算器將使用JavaScript動力去尋找答案.

關於計算器的最巧妙的是,它有一些內置的函數 (任何從發現了許多的平方根來尋找兩個數的最小公倍數來找到解決方案的二次方程。)

下面是一些命令,你可以進入計算器和他們做了什麼: