Mintonette

Mintonette is a logic puzzle. You have to connect two number cells with a line that turns as often as the number indicates.

Mintonette

Rules: Connect each cell with a number (or a question mark) by drawing a line. The individual sections of a line run horizontally or vertically between the centres of orthogonally adjacent cells. Exactly one line must lead through each cell, and exactly one line must end in each number (question mark) cell.
A number in a cell indicates how many times the line turns until it ends in another cell with the same number or a question mark. A question mark stands for any number greater than 0.