Changed 'determine-round-result' to use 'keys' for destructuring map