i just tested the play function out but it seems that when "randomize answers" is turned on in the kahoot quiz the program only knows the location of the original answers and can't calculate by their old position (f.eks i type 1 (as the correct answer) in python but kahoot says the answer is wrong and reads it as me pressing 3) if it helps i have looked through the source code of kahoot and it looks like whatever was first put in the first position when the quiz was made has a value of -0 (in the code it's called "answer-0") the second -1 third -2 fourth -3
i just tested the play function out but it seems that when "randomize answers" is turned on in the kahoot quiz the program only knows the location of the original answers and can't calculate by their old position (f.eks i type 1 (as the correct answer) in python but kahoot says the answer is wrong and reads it as me pressing 3) if it helps i have looked through the source code of kahoot and it looks like whatever was first put in the first position when the quiz was made has a value of -0 (in the code it's called "answer-0") the second -1 third -2 fourth -3
i hope this can help in upgrading the code