Online Wooden Block Puzzle