Press the green flag and spawn a random map. Press to dig and watch your inventory fill up. Select a block in your inventory (this bit is glitchy and unfinished). To deselect press space. Once you've selected a material press to place it down. You can only dig if you are not selecting anything. You can't dig too far as you have a range. I Didn't know about ShiftClickLearn's tile game when I started coding this.
6th June: first release 10th June: fixed placing down blocks