Same Game in Vanilla JS — Flood Fill, Gravity, and Column Compression Same Game is deceptively simple: click groups of 2+ adjacent same-color blocks to remove them. The score per removal is (count - 2)², so a group of 10 scores 64 while two groups of 5 score 18. Planning large groups is the entire game. The implementation is three algorithms working together: flood-fill to find the group, gravi