Skip to content

Commit

Permalink
adding computerImages
Browse files Browse the repository at this point in the history
  • Loading branch information
namannarula committed May 23, 2021
1 parent 039fcf4 commit 99dd914
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file added computerImages/paper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added computerImages/rock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added computerImages/scissors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion game.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def calculate_winner(move1, move2):
#displaying the computer view
if computer_move_name != "none":
icon = cv2.imread(
"images/{}.png".format(computer_move_name))
"computerImages/{}.png".format(computer_move_name))
icon = cv2.resize(icon, (200, 200))
frame[50:250, 400:600] = icon

Expand Down

0 comments on commit 99dd914

Please sign in to comment.