Square game solver agent based on JADE framework