refactor to add  score input from user instead of random setup