Closed raulcd closed 9 years ago
Support for consolefe.py
added. See below the output with python3:
(strategypy3)raulcd@strategypy (feature/python3_compatibility)* $ strategypy davide happiness | python strategypy/consolefe.py
Player davide won in 70 turns
Initial unit count: 20
Final unit count: 9
Player happiness killed: davide x 1,
Player davide killed: happiness x 10,
Player happiness was killed by: davide x 10,
Player davide was killed by: happiness x 1,
(strategypy3)raulcd@strategypy (feature/python3_compatibility)* $
Also tested with Python2
Looks good. A couple of minor things:
@davide-ceretti I've added on the last commit this minor changes. I can expand on the README if you want but I suppose indicating that system dependencies are python2.7 or python3.4 is enough. Let me know if you want me to expand on it.
:+1: Thanks!
Compatibility for Python3 to strategypy.
./play.sh
currently works for both python2 and python3 with this changes Currently tox passes tests on both python2 and 3: