fn find_named_line(
names: &[Vec<String>],
name: &str,
count: usize,
from: i32,
forward: bool,
) -> i32Expand description
名前付きの線を探す。dir > 0 は from の次の線から前向き、< 0 は from の手前から後ろ向きに
count 個目を探す。足りない分は明示グリッドの外の暗黙の線(全部がその名前を持つ)で数える。