This is an old, old game. Played by the ancient Greeks and the Romans. Very popular in the Middle Ages.
You take turns putting your pieces on the board. When they are all there at each turn you can slide one piece to an adjacent open position. Can you get three in a row? If so you get to capture an opponent's piece. Your choice.
Sorry for the ad in the following version. We couldn't find an ad-free one that would also embed.