The fight function was implemented.