New games every week!
Flashing Counters Blog
25th March 2019
Fixed the errant flashing when a player wins Four in-a Row.[/highlight]

@RSKGames


Played a few times and managed to beat the AI half the times. Only weird thing I noticed is that when player wins sometimes both the orange and some blue pieces nearby seem to animate.


Indeed. The flashing is done by the AI. Where the AI sees a possible win, it triggers the flashing, and occasionally it bleeds through into weird areas.

-=-=-



I spent about an hour staring at screens looking very much like this, trying to figure out the best way to narrow down the flashing, and decided to just add a "if colour of the winner" parameter, instead. .. Although I'm not 100% convinced that'll hold up, either, due to the chaos of the AI stuff.
Hmm..

Anyway, it should be "better", and that's all I can say!
Views 65, Upvotes 14  
Shoebox
New games every week!
Site credits : All of the above : Jayenkai
(c) Jayenkai 2023 and onwards, RSS feed 80

Blog - Flashing Counters - AGameAWeek