Tidy - no parens
Tidy - Proper dereferencing
Exit easier
Put score summary into a separate subroutine
Move exit handling into separate subroutine