Added logic for Attack Phase and fixed some test cases