was8bit 2022-03-28 11:07 (Edited)

Touch: when 3 or more squares are in a row will score, else severe penalty

McPepic 2022-03-28 14:57

Really simple. I like it. The color of the squares doesn’t matter to the score, right?

was8bit 2022-03-28 19:23

Thanky :)

Nope, just be sure the square is SOLID and not changing... technically, the animation stops at frame 15, so the code only registers spaces where it is holding on frame 15... the animation near this point almost looks square, so sometimes that can catch you ...

The colors are randomly chosen at game start, but then they stay the same for the duration of the game... only the score will change colors now and then... but the colors themselves are only artistic, no bearing on the game... :)

was8bit 2022-03-28 19:25

Oh, and it checks for all 3-in-a-rows, including diagonals...

Log in to reply.