Esempio n. 1
1
def test_connection(pin):
    send = kahoot(pin, "Test Name")
    return send.reserve_session()
Esempio n. 2
0
def find_two_factor_code(pin):
  send = kahoot(pin, "Test Name")
  send.reserve_session()
  while self.twoFactorCount < 24:
    time.sleep(0.05)
  if self.twoFactorSolved:
    print('true')
    print(self.twoFactor)
  else:
    print('false')
Esempio n. 3
0
def test_connection(pin):
  send = kahoot(pin, "Test Name")
  return send.testSession()
Esempio n. 4
0
def kahoot_run(pin, name, verify):
  send = kahoot(pin, name)
  send.verify = verify
  send.connect()
Esempio n. 5
0
  try:
    return int(pin), str(name), bool(verify)
  except:
    print("Please input properly")
    error(0,"not proper input", True)

def esc():
  while send.end == False:
    if send.end == True:
      print("Done")
    else:
      time.sleep(0.1)


if __name__ == '__main__':
    print("""\n-------------------------------------------------
      \tWelcome to the Kahoot Crashed [UNTESTED] v2.1 \n
      \t\tby Ellie <3
      \n-------------------------------------------------\n
      I am not responsible for any badness caused by this program, it's 'educational'""");
    pin, name, verify = get_input()
    print ("Connecting...")
    send = kahoot(pin, name)
    send.verify = verify
    send.connect()
    send.run_game(True)
    esc()



Esempio n. 6
0
def test_connection(pin):
  send = kahoot(pin, "Test Name")
  return send.test_conn()
Esempio n. 7
0
def kahoot_run(pin, x, name):
  send = kahoot(pin, name+str(x))
  send.connect()
Esempio n. 8
0
def kahoot_run(pin, x, name):
    send = kahoot(pin, name + str(x))
    send.connect()
Esempio n. 9
0
def kahoot_run(pin, x, name, verify):
    send = kahoot(pin, name + str(x + 1))
    send.verify = verify
    send.connect()