You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
859 B

extends MajorityJudgmentChatCommandJudgmentsProvider
class_name MajorityJudgmentDemoProvider
# Dummy provider, to test the app out.
func start_providing():
var commands = [
["Michel", "A4B2C1"],
["Rida", "B1"],
["Rida", "A3"],
["Rida", "C5"],
["Stup", "A0B1C3"],
["Flip", "A0B2C1"],
["Flip", "A1"],
["Sylvain", "A3B4"],
["Sylvain", "C5B3"],
["Julia", "A0"],
["Julia", "B1"],
["Julia", "C2"],
["Elliot", "A0B0C4"],
["Sophie", "C0"],
["Sophie", "C0A2B5"],
["Yohan", "B1A2C3"],
["Teddy", "A5"],
["Guhur", "A3B3C3"],
["Clotilde", "B5A5"],
["Eva", "A3B3C1"],
["Marie", "A2B5C1"],
["Philippe", "A3B3C3"],
["Benjamin", "B5C1"],
["Matteo", "A1B2C3"],
["Gianni", "B4"],
# … add more
]
for command in commands:
yield(App.timer(1.5+(randi()%3)), "timeout")
process_chat_command(command[0], command[1])