lib/Constants.rb in PlayRockPaperScissorsGame-2.4.1 vs lib/Constants.rb in PlayRockPaperScissorsGame-2.4.2

- old
+ new

@@ -13,10 +13,10 @@ # format: player choice, computer choice [:SCISSORS, :PAPER], [:PAPER , :ROCK], [:ROCK , :SCISSORS] ] - LOSERS = WINNERS.map { |wp,lp| [lp,wp] } # this will take the original WINNERS array and flip the symbols, thus returning a loss for the user/player + LOSERS = WINNERS.map { |pc,cc| [cc,pc] } # this will take the original WINNERS array and flip the symbols, thus returning a loss for the user/player INIT_STRINGS = [ ColorizedString["You are about to enter a rock-paper-scissors best of 3 match."].colorize(:green), ColorizedString["Press the return/enter key to continue..."].colorize(:green), "" ]