Like the others have said there were no (European style) wars.
But there were disagreement some which resulted in armed encounters with others. Most of these occurred during the period of European colonization and encroachment.
In the East various tribes began moving into the territories of other Nations to avoid contact with the colonizers, breaking long standing treaties/agreements with those Nations. Fighting between isolated factions of those Nations often resulted before treaties/agreements were reached.
During the time of early European colonization, my Nation (the Ojibwe) fought with the Haudenosaunee and the Sioux for that very reason. Again this resulted in isolated skirmishes. At no time did the entire Nation engage in armed conflict.
A (European style) war would have been like David and Goliath. The Ojibwe Nation is a huge Nation far out numbering other Nations, even today.
The Ojibwe, as such a large nation and inhabiting a massive geographical area signed more treaties with the Europeans than any other Nation. Reaching a common agreement (treaties) was the normal means of settling conflicts and ending/avoiding any fighting.
• Are you saying there was no "warrior code" among native americans similar to being like a soldier in the army?
No . . . Not in my Nation. That's European fiction.
The term my people use is "Ogichidaa" which is a protector. Even today when we speak of the "Warrior Society" it identifies those who stand between the conflict and the people. The main goal is to protect by whatever means. The modern military term would be "Peace Keepers".
As Ajidamoon says they were expected to fulfill many more roles in their responsibility in the protection of their people than running off to fight another Nation.
They were the hunters and medicine people who had a sound knowledge of the food sources and medical plants and where they could be found.
Even today our young men (who would be our warriors) are expected to feed the people. They are the ones (at a feast) who are expected to take the food to each person in attendance, or in a less formal setting they are expected to make a plate of food for each elder, before any one else is served.
So No there is no "warrior code" similar to being like a soldier in the army. Their roles are completely different.