incomplete simple battle strategy

This commit is contained in:
Bryan Bishop
2013-11-12 02:11:23 -06:00
parent d193e02a11
commit b44e7b6dee

View File

@@ -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