YayPlays

How to play

Slant Lines: Choose a level
1Choose a level
Slant Lines: In play
2In play

Controls

TapKeyboard←→↑↓ Space
  1. Tap a square to turn its line.
  2. Corner numbers count touching lines.
  3. Never close a loop.
  4. Keys: arrows and Space.

Slant Lines: counting the corners, the no-loop rule, and the three deductions that solve every board

Put a \ or a / in every square. Each corner number says how many lines touch that corner, and the lines may never close a loop. The puzzle is known as Gokigen Naname, and every board has one answer that pure logic reaches. We solved levels 1 to 16 (5 × 5 up to 7 × 7) with our own solver using only the rules below, entered the lines with the keys and finished each in 3 to 5 seconds of input, three stars and no hints. To see the loop rule, we also deliberately closed a small diamond on level 3.

The rules on the board

  • A corner's number is how many of the up to four lines around it point into that corner.
  • Lines may not close a loop. The moment they do, every line in the loop glows red (Loop!, Rule broken!).
  • Corner numbers turn green when met and red when they can no longer be met.
Level 3: four lines closed into a diamond, which glows red; the 1 clues it touches turn red too. Loop!
Level 3: four lines closed into a diamond, which glows red; the 1 clues it touches turn red too. Loop!

Three deductions

The first two deductions finish the early boards; larger boards need the third more and more often.

  1. Counting: a 0 means no line touches the corner, so all its squares go the other way. A 4 means all four touch. On the edge, a 1 or 2 often fixes the squares outright.
  2. No loops: if one choice in a square would close a loop with lines already placed, the other choice is forced.
  3. Try the other way: if putting the other line in a square would make some corner impossible or close a loop a step later, the square is decided. The game's own hint calls this Other way breaks.

16 grids filled in under five seconds each

LevelsSizeClues (of corners)Input timeStars
1 to 55 × 512 to 14 of 363.2 to 4.0 s3
6 to 126 × 615 to 23 of 493.9 to 4.0 s3
13 to 167 × 724 to 28 of 644.8 to 4.9 s3
Level 14, half the squares filled: 14 of 24 clues are already met and show green.
Level 14, half the squares filled: 14 of 24 clues are already met and show green.

Levels, stars and controls

  • 36 levels from 5 × 5 to 9 × 9.
  • Filling a grid without hints keeps three stars, with up to two hints two, otherwise one.
  • Tap a square to cycle \, / and empty. Keys: arrows move, Space cycles, 1 or \ sets \, 2 or / sets /, 0 clears, U undoes, H hints.
Level 16: three stars, 222 points.
Level 16: three stars, 222 points.

Questions

Why did my lines turn red?
They closed a loop, which the rules forbid. Change one of the red lines.
Is there always a unique answer?
Yes. Every level was built so that logic alone solves it to the end, which also proves the answer is unique.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.