Linesweeper

Linesweeper is a logic puzzle. Draw a loop in the grid where, for some cells, the number of adjacent cells with line elements is given.