Skip to content

Commit

Permalink
removing none class
Browse files Browse the repository at this point in the history
  • Loading branch information
namannarula committed May 23, 2021
1 parent 1a6e176 commit fe7ba60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions game.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import numpy as np
from random import choice

REV_CLASS_MAP = {
CLASS_MAP = {
0: "rock",
1: "paper",
2: "scissors",
}


def mapper(val):
return REV_CLASS_MAP[val]
return CLASS_MAP[val]


def calculate_winner(move1, move2):
Expand Down

0 comments on commit fe7ba60

Please sign in to comment.