refactoring code so there are just two public methods after player instantiation: update and take_turn