Exemple #1
0
def basic_grind() -> str:
    stances, rotations, _, _, grinds, _ = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    rotation = np.random.choice(rotations)
    grind = np.random.choice(grinds)
    return {"payload": f"{stance} {rotation} {grind}".strip()}
def insane_flip() -> str:
    stances, rotations, degrees, flips, _, _ = load_all()
    stance = np.random.choice(stances[1:])
    rotation = np.random.choice(rotations)
    degree = np.random.choice(degrees[0:2])
    flip = np.random.choice(flips[4:])
    return {"payload": f"{stance} {rotation} {degree} {flip}".strip()}
Exemple #3
0
def advanced_flip() -> str:
    stances, rotations, degrees, flips, grinds, _ = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    rotation = np.random.choice(rotations)
    degree = degrees[0]
    flip = np.random.choice(flips[0:9])
    return {"payload": f"{stance} {rotation} {degree} {flip}".strip()}
Exemple #4
0
def advanced_manual() -> str:
    stances, _, degrees, flips, _, manuals = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    degree = degrees[0]
    flip = np.random.choice(flips[0:5])
    rot_or_flip = np.random.choice([degree, flip])
    manual = np.random.choice(manuals[0:2])
    return {"payload": f"{stance} {rot_or_flip} {manual}"}
def insane_manual() -> str:
    stances, rotations, degrees, flips, _, manuals = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    rotation = np.random.choice(rotations)
    degree = degrees[0]
    flip = np.random.choice(flips)
    manual = np.random.choice(manuals[0:2])
    return {"payload": f"{stance} {rotation} {degree} {flip} {manual}"}
Exemple #6
0
def advanced_grind() -> str:
    stances, rotations, degrees, flips, grinds, _ = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    degree = degrees[0]
    rotation = f"{np.random.choice(rotations)} {degree}"
    flip = f"{np.random.choice(flips[0:5])} {np.random.choice(rotations)}"
    rot_or_flip = np.random.choice([rotation, flip])
    grind = np.random.choice(grinds[0:9])
    return {"payload": f"{stance} {rot_or_flip} {grind}".strip()}
def insane_grind() -> str:
    stances, rotations, degrees, flips, grinds, _ = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    rotation = np.random.choice(rotations)
    second_rotation = np.random.choice(rotations)
    degree = np.random.choice(degrees[0:2])
    flip = np.random.choice(flips)
    grind = np.random.choice(grinds)
    return {
        "payload":
        f"{stance} {rotation} {degree} {flip} {second_rotation} {grind}".strip(
        )
    }
Exemple #8
0
def basic_flip() -> str:
    stances, rotations, _, flips, _, _ = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    flip = np.random.choice(flips)
    return {"payload": f"{stance} {flip}".strip()}
Exemple #9
0
def basic_manual() -> str:
    stances, rotations, _, _, _, manuals = load_all()
    stance = np.random.choice(stances)
    stance = stance if stance != "Normal" else ""
    manual = np.random.choice(manuals[0:2])
    return {"payload": f"{stance} {manual}"}