Skip to content

Commit

Permalink
fix: 危険な初期配置を初期配置候補から削除 #7
Browse files Browse the repository at this point in the history
  • Loading branch information
arumakan1727 committed Jan 4, 2021
1 parent dbaa950 commit 4c85e36
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/bluedragon/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,34 +268,30 @@ def initialize_my_placement(data: BattleData) -> None:
"""
X = INITIAL_HP
candidates = [
# 案1
[
[0, 0, 0, 0, 0],
[0, X, 0, X, 0],
[X, 0, X, 0, 0],
[0, 0, 0, 0, 0],
[0, X, 0, X, 0],
[0, X, 0, 0, X],
[0, 0, 0, 0, 0],
],

# 案2
[
[0, 0, 0, 0, 0],
[X, 0, X, 0, 0],
[0, 0, 0, X, 0],
[X, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, X, 0, 0, X],
[0, 0, 0, 0, 0],
],

# 案3
[
[0, 0, 0, X, 0],
[X, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
[0, X, 0, 0, X],
[0, 0, 0, 0, 0],
[X, 0, 0, X, 0],
[0, 0, 0, 0, 0],
],

# 案5
[
[0, 0, 0, 0, 0],
[0, 0, X, 0, 0],
Expand Down

0 comments on commit 4c85e36

Please sign in to comment.