refactored when emitting player actions and adding in comments