Added increasing game score. also refactoring.