added naive attackAgainst and defendAgainst functions