Its just chess you drag the pieces and the gray rectangles is were you put captured pieces.
credit to whichever caveman invented chess