aturfah / cmplxsys530-final

Final Project for Complex Systems 530 WN18
MIT License
2 stars 2 forks source link

Feature moves as py #151

Closed aturfah closed 5 years ago

aturfah commented 5 years ago

Addresses Issue #82

Updates

Introduce BaseMove class, which behaves like move .json config but has functions associated with it. Also, adds following classes for their respective moves.

Moves application of boosts, secondary effects, and volatile status to the classes (as opposed to the pokemon_engine). This should make adding the more complex effects of moves much simpler (such as weather, terrain, etc) and make the pokemon_engine code a bit less cluttered.

Test Cases

tests/misc_tests/moves_test.py