Right now the BasicPokemonAgent goes and generates the possible moves that it could do. This should be handled at the Pokemon level, to make accounting for status conditions/item effects more simple.
Implementation details
pokemon_helpers\pokemon.py - Need to add function for generate_moves() that returns list of possible tuples (Attack, NUMBER), as well as a flag for if the Pokemon can switch
agent\basic_planning_pokemon_agent.py - generate_possibilities needs to be updated to make use of generate_moves()
agent\basic_pokemon_agent.py - Need to update make_move to make use of generate_moves()
Right now the
BasicPokemonAgent
goes and generates the possible moves that it could do. This should be handled at thePokemon
level, to make accounting for status conditions/item effects more simple.Implementation details
pokemon_helpers\pokemon.py
- Need to add function forgenerate_moves()
that returns list of possible tuples(Attack, NUMBER)
, as well as a flag for if the Pokemon can switchagent\basic_planning_pokemon_agent.py
-generate_possibilities
needs to be updated to make use ofgenerate_moves()
agent\basic_pokemon_agent.py
- Need to updatemake_move
to make use ofgenerate_moves()
Test cases