Advertisement
superpawko

Untitled

Oct 8th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. def notMINE():
  2. while True:
  3. prompt = input('Enter n to deal a new hand, r to replay the last hand, or e to end game: ')
  4. if prompt == 'e':
  5. break
  6. elif prompt == 'n':
  7. hand = dealHand(HAND_SIZE)
  8. game = True
  9. while True:
  10. prompt = input('Enter u to have yourself play, c to have the computer play: ')
  11.  
  12.  
  13. CODE REMOVED
  14.  
  15. elif prompt == 'r':
  16. if game:
  17. prompt = input('Enter u to have yourself play, c to have the computer play: ')
  18.  
  19.  
  20. CODE REMOVED
  21.  
  22.  
  23. else:
  24. print('You have not played a hand yet. Please play a new hand first!')
  25. else:
  26. print('Invalid command.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement