click to place blocks, D to delete all blocks, space to swing your sword, S to switch to different blocks, and left and right arrow keys to move