Find the score
if ( alpha [ i ] . charCodeAt ( 0 ) >= " " . charCodeAt ( 0 ) && alpha [ i ] . charCodeAt ( 0 ) <= " " . charCodeAt ( 0 ) ) score += alpha [ i ] . charCodeAt ( 0 ) - " " . charCodeAt ( 0 ) + 1 ; else score += alpha [ i ] . charCodeAt ( 0 ) - " " . charCodeAt ( 0 ) + 1 ; }