Skip to content

Commit

Permalink
fixed game engine dangerous default value
Browse files Browse the repository at this point in the history
  • Loading branch information
lunathanael committed Mar 11, 2024
1 parent 048f761 commit f3b7f0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clash_royale/envs/game_engine/game_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class GameEngine:
"""

def __init__(self,
width: int =18,
height: int=32,
deck1: List[str],
deck2: List[str],
width: int=18,
height: int=32,
resolution: Tuple[int, int] =(128, 128),
deck1: List[str] =['barbarian'] * 8,
deck2: List[str] =['barbarian'] * 8,
) -> None:
"""
The game_engine should be initialized with settings such as resolution
Expand Down

0 comments on commit f3b7f0b

Please sign in to comment.