heroku ready
corrected typo and added in random attack for opponent