Skip to content

Instantly share code, notes, and snippets.

@WindClan
Created July 22, 2024 19:15
Show Gist options
  • Save WindClan/070f2fbcbd22ded29ebc47c109bd3b1d to your computer and use it in GitHub Desktop.
Save WindClan/070f2fbcbd22ded29ebc47c109bd3b1d to your computer and use it in GitHub Desktop.
from api import submitGuess #https://gist.github.com/WindClan/97861c7d6b37b86e2685ac961024739a
import uuid
import time
chars = [
"",
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i",
"j",
"k",
"l",
"m",
"n",
"o",
"p",
"q",
"r",
"s",
"t",
"u",
"v",
"w",
"x",
"y",
"z"
]
char1 = 1
char2 = 1
char3 = 1
count = 1
gameId = str(uuid.uuid4())
doLoop = True
submitGuess(gameId,"god named aaa that kills rock")
last = "aaa"
while doLoop:
char3 = char3 + 1
if char3 > 24:
char3 = 1
char2 = char2 + 1
if char2 > 24:
char2 = 1
char1 = char1 + 1
if char1 > 24:
submitGuess(gameId,"https://example.com")
godName = chars[char1] + chars[char2] + chars[char3]
guess = "god named "+godName+" that specifically kills gods named "+last
wins,b,c,d,e = submitGuess(gameId,guess)
print(wins,b,c,d,e)
if not wins:
print(guess)
doLoop = False
break
last = godName
time.sleep(1/20)
count = count + 1
print(count)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment