-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
420 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
__pycache__ | ||
.ipynb_checkpoints/ | ||
|
||
.connection_provider/ | ||
.vscode/ | ||
|
||
config*.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[[{"x": 160, "y": 110, "__Vec2__": true}, {"x": 140, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 144.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 148.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 152.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 156.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 160.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 164.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 168.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 172.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 176.0, "y": 130, "__Vec2__": true}], [{"x": 160, "y": 110, "__Vec2__": true}, {"x": 180.0, "y": 130, "__Vec2__": true}]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
from .common import * | ||
from .connection import * | ||
from .constants import * | ||
from .controls import * | ||
from .entity import * | ||
from .gamereplay import * | ||
from .grid import * | ||
from .logging_options import * | ||
from .namedmutex import * | ||
from .pathing import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
from typing import Any, Optional | ||
from typing import Optional | ||
|
||
from common.grid import GridView | ||
from entity_envs.entity_env import TowerfallEntityEnvImpl | ||
from envs.connection_provider import TowerfallProcessProvider | ||
|
||
def create_kill_enemy(configs: dict[str, Any], record_path: Optional[str]=None, verbose=0): | ||
towerfall_provider = TowerfallProcessProvider('default') | ||
towerfall = towerfall_provider.get_process( | ||
fastrun=True, | ||
config=dict( | ||
mode='sandbox', | ||
level='1', | ||
fps=90, | ||
agents=[dict(type='remote', team='blue', archer='green')] | ||
)) | ||
|
||
def create_kill_enemy(record_path: Optional[str]=None, verbose=0): | ||
return TowerfallEntityEnvImpl( | ||
towerfall=towerfall, | ||
record_path=record_path, | ||
verbose=verbose) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.