game percentage working, almost lm ready

added working functions, date issues fixed.