Click on the tiles near an empty spot to move them to that empty spot. To start a new game either click on the button to the left, or click on one of the tiles if you've already won!