Tap the ■ / × button to choose whether a tap fills or crosses a cell. Drag to paint a line. On desktop, left-click fills and right-click crosses. Each wrong fill costs a heart. Lose all three and the puzzle restarts.