Current location - Training Enrollment Network - Mathematics courses - Be good at mathematics gobang
Be good at mathematics gobang
Coordinates, when the coordinates of five chess pieces meet the mathematical relationship of (A 1, B 1) (A2, B2) (A3, B3) (A4, B4) (A5, B5), it is victory.

The mathematical relationship is that a 1, a2, a3, a4 and a5 become arithmetic progression, and the tolerance d a is 0 or 1.

B 1, b2, b3, b4 and b5 form a arithmetic progression, and the tolerance d b is 0 or 1.

And da and db cannot be both 0.

It seems a bit complicated, O(∩_∩)O~~. I think it is useful to adopt it.