Straights of MatterClick or tap an empty square to place a piece. Once every piece is down, drag one of yours to any empty square, or tap it and then the square. Arrow keys move between squares; Enter or Space plays.
With a controller: move round the board with the left stick or the D-pad and play a square with Cross; Circle lets go of a piece, Square changes your state, Triangle shows how to play, pause with Options.