Skip to content

Commit

Permalink
fix scissor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
loan-mgt committed Jun 8, 2024
1 parent 13fc911 commit 2a2c755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/services/game.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,11 @@ func isLeftWinning(leftMove, rightMove string) (bool, bool) {
return true, false
}

if leftMove == "rock" && rightMove == "scissors" {
if leftMove == "rock" && rightMove == "scissor" {
return true, false
}

if leftMove == "scissors" && rightMove == "paper" {
if leftMove == "scissor" && rightMove == "paper" {
return true, false
}

Expand Down

0 comments on commit 2a2c755

Please sign in to comment.