changed approach, game stores input for calculation