Apr-20-2018, 11:30 PM
I'm pretty sure this is an argument issue. The drawback of this function-based approach to the game is the number of arguments that are being passed between the various functions.
Make sure the arguments in the call to update_screen() in alien_invasion.py match the parameters in the update_screen() function definition in game_functions.py. I'm pretty sure one of the arguments got placed out of order, so the stats object got matched with the ship parameter.
Make sure the arguments in the call to update_screen() in alien_invasion.py match the parameters in the update_screen() function definition in game_functions.py. I'm pretty sure one of the arguments got placed out of order, so the stats object got matched with the ship parameter.