Exemple #1
0
class NekomataPiece(Leaper):
    name = "N"
    hexagon = None
    movement: list
    nosummoning: list
    shared: list
    hexagons: dict
    player = None
    movcords = [
        add_tuple(directions["NORTHWEST"], directions["NORTHEAST"]),
        add_tuple(directions["SOUTHWEST"], directions["SOUTHEAST"])
    ]
    blockcords = [directions["NORTHWEST"], directions["NORTHEAST"]]
Exemple #2
0
class AutomatonPiece(Pather):
    name = "Au"
    hexagon = None
    movement: list
    nosummoning: list
    shared: list
    hexagons: dict
    radius = 1
    player = None
    movcords = [
        directions["NORTHEAST"], directions["NORTHWEST"],
        directions["SOUTHEAST"], directions["SOUTHWEST"], directions["EAST"],
        directions["WEST"]
    ]
    blockcords = [
        directions["NORTHEAST"], directions["NORTHWEST"],
        directions["SOUTHEAST"], directions["SOUTHWEST"], directions["EAST"],
        directions["WEST"],
        multiply_tuple(directions["NORTHWEST"], 2),
        multiply_tuple(directions["NORTHEAST"], 2),
        multiply_tuple(directions["SOUTHEAST"], 2),
        multiply_tuple(directions["SOUTHWEST"], 2),
        add_tuple(directions["WEST"], directions["NORTHWEST"]),
        add_tuple(directions["WEST"], directions["SOUTHWEST"]),
        add_tuple(directions["EAST"], directions["NORTHEAST"]),
        add_tuple(directions["EAST"], directions["SOUTHEAST"]),
        add_tuple(directions["SOUTHWEST"], directions["SOUTHEAST"]),
        add_tuple(directions["NORTHWEST"], directions["NORTHEAST"])
    ]
Exemple #3
0
class FalseAngelPiece(Pather):
    name = "F"
    hexagon = None
    movement: int
    nosummoning: int
    shared: int
    hexagons: dict
    radius = 1
    player = None
    movcords = [
        directions["NORTHEAST"], directions["NORTHWEST"],
        directions["SOUTHEAST"], directions["SOUTHWEST"], directions["EAST"],
        directions["WEST"]
    ]
    blockcords = [
        multiply_tuple(directions["NORTHWEST"], 2),
        multiply_tuple(directions["NORTHEAST"], 2),
        multiply_tuple(directions["SOUTHEAST"], 2),
        multiply_tuple(directions["SOUTHWEST"], 2),
        multiply_tuple(directions["WEST"], 2),
        multiply_tuple(directions["EAST"], 2),
        add_tuple(directions["WEST"], directions["NORTHWEST"]),
        add_tuple(directions["WEST"], directions["SOUTHWEST"]),
        add_tuple(directions["EAST"], directions["NORTHEAST"]),
        add_tuple(directions["EAST"], directions["SOUTHEAST"]),
        add_tuple(directions["SOUTHWEST"], directions["SOUTHEAST"]),
        add_tuple(directions["NORTHWEST"], directions["NORTHEAST"])
    ]
Exemple #4
0
class HarpyPiece(Leaper):
    name = "H"
    hexagon = None
    movement: list
    nosummoning: list
    shared: list
    hexagons: dict
    player = None
    movcords = [
        add_tuple(directions["WEST"], multiply_tuple(directions["NORTHWEST"],
                                                     2)),
        add_tuple(directions["WEST"], multiply_tuple(directions["SOUTHWEST"],
                                                     2)),
        add_tuple(directions["EAST"], multiply_tuple(directions["NORTHEAST"],
                                                     2)),
        add_tuple(directions["EAST"], multiply_tuple(directions["SOUTHEAST"],
                                                     2))
    ]
    blockcords = [
        directions["NORTHWEST"], directions["NORTHEAST"],
        directions["SOUTHWEST"], directions["SOUTHEAST"]
    ]
Exemple #5
0
class SylphPiece(Leaper):
    name = "Sy"
    hexagon = None
    movement: list
    nosummoning: list
    shared: list
    hexagons: dict
    player = None
    movcords = [
        multiply_tuple(directions["NORTHWEST"], 3),
        multiply_tuple(directions["NORTHWEST"], 4),
        multiply_tuple(directions["NORTHEAST"], 3),
        multiply_tuple(directions["NORTHEAST"], 4),
        multiply_tuple(directions["SOUTHWEST"], 3),
        multiply_tuple(directions["SOUTHWEST"], 4),
        multiply_tuple(directions["SOUTHEAST"], 3),
        multiply_tuple(directions["SOUTHEAST"], 4),
        add_tuple(multiply_tuple(directions["NORTHWEST"], 2),
                  directions["WEST"]),
        add_tuple(multiply_tuple(directions["NORTHEAST"], 2),
                  directions["EAST"]),
        add_tuple(multiply_tuple(directions["SOUTHWEST"], 2),
                  directions["WEST"]),
        add_tuple(multiply_tuple(directions["SOUTHEAST"], 2),
                  directions["EAST"]),
    ]
    blockcords = [
        directions["NORTHWEST"],
        directions["NORTHEAST"],
        directions["SOUTHWEST"],
        directions["SOUTHEAST"],
        add_tuple(multiply_tuple(directions["NORTHWEST"], 2),
                  directions["WEST"]),
        add_tuple(multiply_tuple(directions["NORTHEAST"], 2),
                  directions["EAST"]),
        add_tuple(multiply_tuple(directions["SOUTHWEST"], 2),
                  directions["WEST"]),
        add_tuple(multiply_tuple(directions["SOUTHEAST"], 2),
                  directions["EAST"]),
    ]
Exemple #6
0
class ImpPiece(Leaper):
    name = "Im"
    hexagon = None
    movement: int
    nosummoning: int
    shared: int
    hexagons: dict
    player = None
    movcords = [
        add_tuple(directions["NORTHWEST"], directions["NORTHEAST"]),
        add_tuple(directions["NORTHWEST"], directions["WEST"]),
        add_tuple(directions["NORTHEAST"], directions["EAST"]),
        add_tuple(directions["SOUTHWEST"], directions["WEST"]),
        add_tuple(directions["SOUTHEAST"], directions["EAST"]),
        directions["SOUTHEAST"]
    ]
    blockcords = [
        add_tuple(directions["SOUTHWEST"], directions["SOUTHEAST"]),
        add_tuple(directions["SOUTHWEST"], directions["WEST"]),
        add_tuple(directions["SOUTHEAST"], directions["EAST"]),
        add_tuple(directions["NORTHWEST"], directions["NORTHEAST"]),
        add_tuple(directions["NORTHWEST"], directions["WEST"]),
        add_tuple(directions["NORTHEAST"], directions["EAST"])
    ]