moved all instance variables into general game variable