Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random, time
- while True:
- actions = ['FEINT', 'ATTACK']
- action = random.choice(actions)
- time.sleep(random.randint(1, 7))
- print(action)
- if action == 'ATTACK':
- start = time.time()
- x = input()
- end = time.time()
- print(end - start, '\n')
- else:
- time.sleep(3)
- print('Restarting...', '\n')
- continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement