See the Pen Tile Game by Adrian Payne (@dazulu) on CodePen.