コード例 #1
0
import offshoot


class SerpenttrexGameAgentPlugin(offshoot.Plugin):
    name = "SerpenttrexGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{"path": "serpent_trex_game_agent.py", "pluggable": "GameAgent"}]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpenttrexGameAgentPlugin)
コード例 #2
0
ファイル: plugin.py プロジェクト: arixlin/SerpentAI_hornet
import offshoot


class SerpenthornetGamePlugin(offshoot.Plugin):
    name = "SerpenthornetGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_hornet_game.py", "pluggable": "Game"}]

    config = {"fps": 2}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpenthornetGamePlugin)
コード例 #3
0
ファイル: plugin.py プロジェクト: jeespinozam/bomberman-ai
import offshoot


class SerpentBombermanGameAgentPlugin(offshoot.Plugin):
    name = "SerpentBombermanGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [
        {"path": "serpent_Bomberman_game_agent.py", "pluggable": "GameAgent"}
    ]

    config = {
        "frame_handler": "PLAY"
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentBombermanGameAgentPlugin)
コード例 #4
0
import offshoot


class SerpentPixelDungeonGamePlugin(offshoot.Plugin):
    name = "SerpentPixelDungeonGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_PixelDungeon_game.py", "pluggable": "Game"}]

    config = {"fps": 2}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentPixelDungeonGamePlugin)
コード例 #5
0
import offshoot


class SuperHexagonGamePlugin(offshoot.Plugin):
    name = "SuperHexagonGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "super_hexagon_game.py", "pluggable": "Game"}]

    config = {"frame_rate": 10}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SuperHexagonGamePlugin)
コード例 #6
0
import offshoot


class SerpentVa11HallAGamePlugin(offshoot.Plugin):
    name = "SerpentVa11HallAGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_Va11HallA_game.py", "pluggable": "Game"}]

    config = {"fps": 2}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentVa11HallAGamePlugin)
コード例 #7
0
import offshoot


class SerpentAIsaacGamePlugin(offshoot.Plugin):
    name = "SerpentAIsaacGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [
        {"path": "serpent_AIsaac_game.py", "pluggable": "Game"}
    ]

    config = {
        "fps": 2
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentAIsaacGamePlugin)
コード例 #8
0
import offshoot


class SerpentOLDTVGameAgentPlugin(offshoot.Plugin):
    name = "SerpentOLDTVGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{"path": "serpent_OLDTV_game_agent.py", "pluggable": "GameAgent"}]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentOLDTVGameAgentPlugin)
コード例 #9
0
import offshoot


class SerpentTradingViewSimGameAgentPlugin(offshoot.Plugin):
    name = "SerpentTradingViewSimGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_TradingViewSim_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentTradingViewSimGameAgentPlugin)
コード例 #10
0
import offshoot


class SerpentKingdomGameAgentPlugin(offshoot.Plugin):
    name = "SerpentKingdomGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [
        {"path": "serpent_Kingdom_game_agent.py", "pluggable": "GameAgent"}
    ]

    config = {
        "frame_handler": "PLAY"
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentKingdomGameAgentPlugin)
コード例 #11
0
import offshoot


class SerpentDasherGameAgentPlugin(offshoot.Plugin):
    name = "SerpentDasherGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_Dasher_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentDasherGameAgentPlugin)
コード例 #12
0
import offshoot


class SerpentCloneyGamePlugin(offshoot.Plugin):
    name = "SerpentCloneyGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_Cloney_game.py", "pluggable": "Game"}]

    config = {"fps": 2}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentCloneyGamePlugin)
コード例 #13
0
ファイル: plugin.py プロジェクト: windwang/SerpentAI
import offshoot


class YouMustBuildABoatGameAgentPlugin(offshoot.Plugin):
    name = "YouMustBuildABoatGameAgentPlugin"
    version = "0.1.0"

    libraries = []

    files = [
        {"path": "you_must_build_a_boat_game_agent.py", "pluggable": "GameAgent"}
    ]

    config = {
        "frame_handler": "COLLECT_FRAMES",
        "collect_frames_interval": 1,
        "collect_character_interval": 10
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(YouMustBuildABoatGameAgentPlugin)
コード例 #14
0
import offshoot


class SerpentT4SimGameAgentPlugin(offshoot.Plugin):
    name = "SerpentT4SimGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{"path": "serpent_T4Sim_game_agent.py", "pluggable": "GameAgent"}]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentT4SimGameAgentPlugin)
コード例 #15
0
import offshoot


class SerpentSuperHexagonGameAgentPlugin(offshoot.Plugin):
    name = "SerpentSuperHexagonGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [
        {"path": "serpent_SuperHexagon_game_agent.py", "pluggable": "GameAgent"}
    ]

    config = {
        "frame_handler": "PLAY"
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentSuperHexagonGameAgentPlugin)
コード例 #16
0
ファイル: plugin.py プロジェクト: windwang/SerpentAI
import offshoot


class BindingOfIsaacRebirthGamePlugin(offshoot.Plugin):
    name = "BindingOfIsaacRebirthGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [
        {"path": "binding_of_isaac_rebirth_game.py", "pluggable": "Game"}
    ]

    config = {
        "fps": 2
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(BindingOfIsaacRebirthGamePlugin)
コード例 #17
0
import offshoot


class YouMustBuildABoatGamePlugin(offshoot.Plugin):
    name = "YouMustBuildABoatGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "you_must_build_a_boat_game.py", "pluggable": "Game"}]

    config = {"fps": 2}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(YouMustBuildABoatGamePlugin)
コード例 #18
0
import offshoot


class SerpentGeometryDashGamePlugin(offshoot.Plugin):
    name = "SerpentGeometryDashGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_GeometryDash_game.py", "pluggable": "Game"}]

    config = {"fps": 30}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentGeometryDashGamePlugin)
コード例 #19
0
import offshoot


class SerpentHearthstoneGamePlugin(offshoot.Plugin):
    name = "SerpentHearthstoneGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_Hearthstone_game.py", "pluggable": "Game"}]

    config = {"fps": 2}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentHearthstoneGamePlugin)
コード例 #20
0
import offshoot


class SerpentPikaBallGameAgentPlugin(offshoot.Plugin):
    name = "SerpentPikaBallGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_PikaBall_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentPikaBallGameAgentPlugin)
コード例 #21
0
ファイル: plugin.py プロジェクト: marthinwurer/MinecraftAI
import offshoot


class SerpentMinecraftGamePlugin(offshoot.Plugin):
    name = "SerpentMinecraftGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [
        {"path": "serpent_Minecraft_game.py", "pluggable": "Game"}
    ]

    config = {
        "fps": 2
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentMinecraftGamePlugin)
コード例 #22
0
import offshoot


class SerpentRivalsofAetherGameAgentPlugin(offshoot.Plugin):
    name = "SerpentRivalsofAetherGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_RivalsofAether_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentRivalsofAetherGameAgentPlugin)
コード例 #23
0
ファイル: plugin.py プロジェクト: jeffryang24/offshoot
import offshoot


class TestPlugin(offshoot.Plugin):
    name = "TestPlugin"
    version = "0.1.0"

    plugins = []

    libraries = ["requests"]

    files = [{
        "path": "test_plugin_pluggable_expected.py",
        "pluggable": "TestPluggable"
    }]

    config = {"is_test": True}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(TestPlugin)
コード例 #24
0
import offshoot


class SerpentSpaceInvadersGamePlugin(offshoot.Plugin):
    name = "SerpentSpaceInvadersGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_SpaceInvaders_game.py", "pluggable": "Game"}]

    config = {"fps": 4}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentSpaceInvadersGamePlugin)
コード例 #25
0
import offshoot


class SerpentexitGamePlugin(offshoot.Plugin):
    name = "SerpentexitGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [{"path": "serpent_exit_game.py", "pluggable": "Game"}]

    config = {"fps": 10}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentexitGamePlugin)
コード例 #26
0
import offshoot


class SerpentBindingOfIsaacAfterbirthGameAgentPlugin(offshoot.Plugin):
    name = "SerpentBindingOfIsaacAfterbirthGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [
        {"path": "serpent_BindingOfIsaacAfterbirth_game_agent.py", "pluggable": "GameAgent"}
    ]

    config = {
        "frame_handler": "PLAY"
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentBindingOfIsaacAfterbirthGameAgentPlugin)
コード例 #27
0
ファイル: plugin.py プロジェクト: maartenpeels/mini-metro
import offshoot


class SerpentMiniMetroGamePlugin(offshoot.Plugin):
    name = "SerpentMiniMetroGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [
        {"path": "serpent_MiniMetro_game.py", "pluggable": "Game"},
    ]

    config = {
        "fps": 2,
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentMiniMetroGamePlugin)
コード例 #28
0
import offshoot


class SerpentTiamatXGameAgentPlugin(offshoot.Plugin):
    name = "SerpentTiamatXGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_TiamatX_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentTiamatXGameAgentPlugin)
コード例 #29
0
import offshoot


class SerpentHorizonChaseTurboGameAgentPlugin(offshoot.Plugin):
    name = "SerpentHorizonChaseTurboGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_HorizonChaseTurbo_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentHorizonChaseTurboGameAgentPlugin)
コード例 #30
0

class BindingOfIsaacRebirthGameAgentPlugin(offshoot.Plugin):
    name = "BindingOfIsaacRebirthGameAgentPlugin"
    version = "0.1.0"

    libraries = []

    files = [{
        "path": "binding_of_isaac_rebirth_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {
        "frame_handler": "COLLECT_FRAMES",
        "collect_frames_interval": 1,
        "collect_character_interval": 10
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(BindingOfIsaacRebirthGameAgentPlugin)
コード例 #31
0
import offshoot


class SerpentFortniteGameAgentPlugin(offshoot.Plugin):
    name = "SerpentFortniteGameAgentPlugin"
    version = "0.1.0"

    plugins = []

    libraries = []

    files = [{
        "path": "serpent_Fortnite_game_agent.py",
        "pluggable": "GameAgent"
    }]

    config = {"frame_handler": "PLAY"}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SerpentFortniteGameAgentPlugin)
コード例 #32
0
ファイル: plugin.py プロジェクト: jeffryang24/offshoot
import offshoot


class CirclePlugin(offshoot.Plugin):
    name = "CirclePlugin"
    version = "0.1.0"

    libraries = ["invoke"]

    files = [{"path": "shapes/circle.py", "pluggable": "Shape"}]

    config = {"count": 12345, "digits": [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]}

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(CirclePlugin)
コード例 #33
0
ファイル: plugin.py プロジェクト: windwang/SerpentAI
import offshoot


class SuperHexagonGamePlugin(offshoot.Plugin):
    name = "SuperHexagonGamePlugin"
    version = "0.1.0"

    libraries = []

    files = [
        {"path": "super_hexagon_game.py", "pluggable": "Game"}
    ]

    config = {
        "frame_rate": 10
    }

    @classmethod
    def on_install(cls):
        print("\n\n%s was installed successfully!" % cls.__name__)

    @classmethod
    def on_uninstall(cls):
        print("\n\n%s was uninstalled successfully!" % cls.__name__)


if __name__ == "__main__":
    offshoot.executable_hook(SuperHexagonGamePlugin)