Beispiel #1
0
void zou(Poi & Q, int & v)
{
	Poi p = Q; p.jin(v);
	if (!p.out() && !p.zhang())
	{
		Q = p;
		return;
	}
	v = (v + 1) % 4;
}