Return values subroutine merge

I have a questin considering subroutine merge.
What is meant by the “total base score” we have to return in $v1?

1 Like

The score without the combo factor applied to it, i.e. the sum over values of merged tiles.

So, did I get you right, that the base score for the following example would be equals 8?
Board before: 2,2,2,2
Board after: 4,0,4,0
Merged tiles were 2, 2, 2, 2. So the base score is 2+2+2+2 = 8.

Thanks in advance


(20 character limit)

1 Like