The battle system implementation