DrunkenToad

Untitled

Oct 12th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. class Reflect(Player):
  2.     def move(self):
  3.         if self.p1.move == 'rock':
  4.             return 'rock'
  5.         if self.p1.move == 'paper':
  6.             return 'paper'
  7.         if self.p1.move == 'scissors':
  8.             return 'scissors'
Add Comment
Please, Sign In to add comment