initial commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
from participant import ProParticipant, ContraParticipant
|
||||
import random
|
||||
|
||||
def main():
|
||||
pro_participant = ProParticipant("Pro")
|
||||
contra_participant = ContraParticipant("Contra")
|
||||
participants = [pro_participant, contra_participant]
|
||||
random.shuffle(participants)
|
||||
for participant in participants:
|
||||
print(participant.name)
|
||||
print(participant.role_description)
|
||||
print("----------------------------------------------------------------")
|
||||
print()
|
||||
exit
|
||||
opponents_answer = "Du bist der erste Teilnehmer in der ersten Runde. Was ist deine Meinung zum Thema?"
|
||||
|
||||
for i in range(4):
|
||||
print(f"Round {i+1}")
|
||||
|
||||
for participant in participants:
|
||||
opponents_answer = participant.answer(opponents_answer)
|
||||
|
||||
|
||||
print(f"# {participant.name}")
|
||||
print(opponents_answer)
|
||||
print("---")
|
||||
print()
|
||||
print()
|
||||
|
||||
return
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user