Arrow keys to move. Press E to open the inventory. Click a block to delete it and click an empty space to place a block there. Press B while placing a block to put it in the background. Press S to get the save code of a level and L to load a level. Current blocks: Stone Dirt Grass Cobblestone Planks Sand (with gravity) Logs Leaves Glass Wool Bricks TNT Netherrack Coal, Iron, Lapis, Gold, Diamond Ore Iron, Lapis, Gold, Diamond Blocks Wooden Stairs
Credit to Mojang (obviously) for Steve's sprite and the original game. Credit to @djpro for platforming script, modified by me a bit. UPDATE LOG: v 2.3 Removed Herobrine. v 2.2 Sand falling is handled differently to fix many bugs. v 2.1 Ore blocks now spawn naturally. v 2.0 Saving and loading worlds. v 1.8 Logs look different, artificial logs are solid but natural ones aren't. v 1.7 Background blocks! Press B while placing a block to make it a background block. v 1.6 Added netherrack, coal ore, iron ore, lapis ore, gold ore, diamond ore, iron blocks, lapis blocks, gold blocks, diamond blocks and wooden stairs. I'm not planning to add any more. v 1.5 Fixed bug with sand. v 1.4 Added glass, wool, TNT v 1.3 Sand has gravity! v 1.2.1 Added sand v 1.2: Added inventory, created and fixed major bug with cursor, made cursor smaller. v 1.1: Added bricks and planks v 1.0: Release, with stone, dirt, grass, cobble, logs and leaves.