Circuit checking for corners and straights