Skip to content

Commit 85a3ad1

Browse files
style: linting whitespace
1 parent 5d0bf77 commit 85a3ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2022/day-02/rochambeau.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const strategizeRound = (opponent, outcome) => {
4747
const offset = strategyCodes.indexOf(outcome) - 1
4848
let target = opponentCodes.indexOf(opponent) + offset
4949
if (target >= opponentCodes.length) { target = 0 }
50-
if (target < 0) { target = opponentCodes.length - 1}
50+
if (target < 0) { target = opponentCodes.length - 1 }
5151
return opponentCodes[target]
5252
}
5353
return scoreShape(findPlay(opponent, outcome)) + scoreOutcome

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy