Refactoring attempt:

  * Perform basic method extract refactoring
  * Removed unused branches of conditionals
  * Move to key interpolation to streamline conditionals
  * Introduced a Score class to remove duplication