Added play function for tiling