Add named parameters for game function