Consecutive same

consecutive same consecutive same consecutive same

our code wouldn’t help you because we don’t know how you store your grid

can you please provide your entire runable code?