The total score is a weighted sum of surviving units and current gold:score=(units×1.2)+(gold×2.0)
I spent time making sure the colors for the units and ui matched up, so I am happy you liked the look. Thanks for giving it a try!