Added new try_offense, try_defense and try_random functions