basic combat engine implemented