Spaces:
Configuration error
Configuration error
Upload stratego\strategies\defensive_strategy.py with huggingface_hub
Browse files
stratego//strategies//defensive_strategy.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import List
|
| 2 |
+
from stratego.strategies.base import Strategy
|
| 3 |
+
|
| 4 |
+
class DefensiveStrategy(Strategy):
|
| 5 |
+
def get_context(self) -> str:
|
| 6 |
+
return (
|
| 7 |
+
"Play defensively: focus on protecting high-value pieces "
|
| 8 |
+
"and controlling your territory. Avoid unnecessary risks."
|
| 9 |
+
)
|