pass game color on front page
tidy up game page code
update addon function template
use addon function on front page