diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-11-12 02:11:23 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-11-12 02:11:23 -0600 |
commit | b44e7b6dee19c9029e68747315e4fc84e741a86b (patch) | |
tree | ff6b7d5151d4d396e1858fb0382e54cb36fd3f34 /pokemontools/vba/battle.py | |
parent | d193e02a11ea5c4b86d9ac42a473b55e255c67ff (diff) |
incomplete simple battle strategy
Diffstat (limited to 'pokemontools/vba/battle.py')
-rw-r--r-- | pokemontools/vba/battle.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pokemontools/vba/battle.py b/pokemontools/vba/battle.py index b1ede97..b1ac0fe 100644 --- a/pokemontools/vba/battle.py +++ b/pokemontools/vba/battle.py @@ -280,3 +280,15 @@ class BattleStrategy(Battle): Take actions inside of a battle based on the game state. """ raise NotImplementedError + +class SpamBattleStrategy(BattleStrategy): + """ + A really simple battle strategy that always picks the first move of the + first pokemon to attack the enemy. + """ + + def handle_turn(self): + """ + Always picks the first move of the current pokemon. + """ + pass |