rock-paper-scissors/main.py
2023-08-13 19:57:20 +10:00

22 lines
611 B
Python

# This entrypoint file to be used in development. Start by reading README.md
from unittest import main
from RPS import player
from RPS_game import abbey, human, kris, mrugesh, play, quincy, random_player
play(player, quincy, 1000)
play(player, abbey, 1000)
play(player, kris, 1000)
play(player, mrugesh, 1000)
# Uncomment line below to play interactively against a bot:
# play(human, abbey, 20, verbose=True)
# Uncomment line below to play against a bot that plays randomly:
# play(human, random_player, 1000)
# Uncomment line below to run unit tests automatically
main(module='test_module', exit=False)