# Dev Journal - Match-3 Bonus Equation

**bonus = (matches - 3) x 2**

For some reason this silly bonus equation took me a lot longer to figure out than it should have. Essentially if you get 3 matches in a match-3 game, you get no bonus. That's 3 points. If you get 4 matches in a match-3 game, I wanted you to get 5 points. In this case: 3 + ((4-3) x 2) = 5. If you get 5 matches in a match-3 game, you would get 7 points and 6 matches gets you 12 points. So on and so forth!

This is the bonus equation! So simple!