Changed all references to object gameParameters to indexParameters, for clarity