From b44e7b6dee19c9029e68747315e4fc84e741a86b Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Tue, 12 Nov 2013 02:11:23 -0600 Subject: incomplete simple battle strategy --- pokemontools/vba/battle.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pokemontools/vba/battle.py') 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 -- cgit v1.2.3