Fixed typo in player constructor
Revert to non-working attack function