Skip to content

Commit

Permalink
added tower_count function
Browse files Browse the repository at this point in the history
  • Loading branch information
lunathanael committed Mar 12, 2024
1 parent 4569c39 commit 4f88b04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clash_royale/envs/game_engine/arena.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ def play_card(self, x: int, y: int, card: Card) -> None:

def get_placement_mask(self) -> npt.NDArray[bool]:
return np.ones(shape=(32, 18), dtype=bool)

def tower_count(self, player_id: int) -> int:
return 0

0 comments on commit 4f88b04

Please sign in to comment.