Dharma: The Rules of the Infinite Game

What karma, reciprocity and the Mahabharata reveal about how societies sustain cooperation—and why the Gita ultimately asks us to transcend the game

Karma is commonly reduced to “what goes around comes around,” while dharma is reduced to duty. Both ideas are considerably richer. Viewed through repeated-game theory, karma and dharma can be understood as complementary ideas about how actions shape both the actor and the social environment. In a one-shot interaction, defection may be rational; in an indefinitely repeated relationship, cooperation, reciprocity, reputation, proportionate retaliation and forgiveness can become remarkably powerful. Robert Axelrod’s work on the iterated Prisoner’s Dilemma demonstrated this through the success of Tit-for-Tat under particular conditions. Ancient Indian thinkers were addressing a different set of questions, but they too were concerned with conduct that sustains social order across repeated interactions and generations. Yet the analogy has limits: dharma is contextual, karma is moral and metaphysical, and moksha ultimately asks whether one can participate in the game without becoming imprisoned by its rewards.


The surprising connection

Karma and modern game theory appear to inhabit different universes.

One speaks of action, intention, rebirth and liberation. The other speaks of strategies, payoffs, equilibria and incentives.

Yet both begin with a powerful proposition:

What a person does today changes the conditions under which he acts tomorrow.

Consider a dishonest merchant. A lie may generate an immediate gain. But the lie also changes his reputation. Customers become cautious. Partners demand guarantees. Employees trust him less. He may have to lie again to conceal the first lie.

The original act has become a chain.

This is one useful way of understanding karma: not merely as a cosmic system of rewards and punishments, but as causal continuity in which actions generate consequences and reinforce dispositions.

The psychological dimension is important. Repeated anger makes anger easier. Repeated generosity makes generosity easier. Repeated deception gradually makes deception habitual.

As Rupert Gethin puts it, karma is fundamentally a “mental act or intention.”

The action changes the world, but it also changes the person who acts.

That is where karma begins to resemble a repeated game.


Why the future changes everything

The Prisoner's Dilemma demonstrates why cooperation is difficult.

If two people interact only once, each has an incentive to defect. But add a future encounter and the calculation changes.

The relevant question becomes:

“What will my behaviour today do to our relationship tomorrow?”

Robert Axelrod's famous tournaments of the iterated Prisoner's Dilemma demonstrated the power of reciprocal strategies. Tit-for-Tat begins cooperatively, responds to defection, and then returns to cooperation when cooperation resumes.

Axelrod described the successful characteristics as:

“Nice, retaliatory, forgiving, and clear.”

The elegance lies in the combination.

Pure cooperation can be exploited.

Permanent retaliation creates endless conflict.

Unlimited forgiveness rewards predation.

Unpredictability makes cooperation difficult.

A sustainable strategy therefore needs trust, boundaries and an exit from retaliation.

That sounds remarkably close to the architecture of a functioning moral order.


Dharma as social operating system

This provides a useful, though incomplete, way to think about dharma.

Dharma can be viewed as a set of norms that make repeated social interaction sustainable.

Truthfulness reduces uncertainty.

Keeping promises creates credible commitments.

Reciprocity encourages cooperation.

Hospitality builds relationships beyond immediate transactions.

Generosity creates obligations and social capital.

Protection of dependants prevents the vulnerable from being discarded.

Restraint limits destructive competition.

Punishment makes serious defection costly.

Forgiveness prevents punishment from becoming permanent warfare.

In modern economics, these functions are distributed across law, reputation, institutions, contracts, norms and social capital.

Traditional societies possessed fewer formal mechanisms. Normative systems therefore had to carry a much greater burden.

Dharma effectively told individuals that they were participants in a game whose rules had to survive beyond the immediate transaction.

Its underlying message could be paraphrased:

Do not maximise the immediate payoff by destroying the system that generates future payoffs.

That is not the whole of dharma.

But it is an illuminating part of it.


Karma is the memory of behaviour

The relationship between karma and dharma becomes clearer here.

Dharma concerns how one ought to act.

Karma concerns what action does.

The consequences are not necessarily immediate.

A trustworthy person accumulates something invisible but economically valuable: reputation.

People extend credit.

They share information.

They recommend him.

They accept his word.

His previous conduct changes his future opportunity set.

Modern social science calls this reputation or social capital.

Karma offers a much larger framework in which the action itself generates consequences that may extend across the person's psychological and, in many Indian traditions, metaphysical existence.

The empirical and metaphysical claims should not be confused.

But structurally they share a profound insight:

Yesterday's behaviour accompanies the individual into tomorrow's interaction.


The actor is changed by the action

This may be the deepest connection.

Suppose a person repeatedly acts from greed.

The first greedy decision may require rationalisation.

The twentieth requires less.

Eventually greed becomes part of the person's default response.

The same is true of courage, compassion, envy, resentment or self-control.

Karma therefore need not be imagined simply as an external ledger.

It can also be understood as the accumulation of behavioural tendencies.

This explains why intention matters.

Two people may perform the same action for completely different reasons.

One gives money from compassion.

Another gives it to acquire prestige.

The external transaction is identical.

The internal action is not.

Buddhist thought makes this explicit. The Buddha famously said:

“It is intention that I call karma.”

This makes karma less like an accounting system and more like a theory of how consciousness is conditioned by what it repeatedly chooses.


Why dharma is not simply “be nice”

Here Tit-for-Tat provides another useful lesson.

Cooperation without boundaries is exploitable.

A society that refuses to punish serious wrongdoing eventually creates incentives for wrongdoing.

This is why dharma contains ideas of punishment, authority, justice and protection, alongside compassion and restraint.

A king who refuses to punish a predatory official may be failing in his duty.

A state that never responds to aggression may encourage further aggression.

A parent who never disciplines may confuse indulgence with compassion.

Sustainable cooperation therefore requires something more sophisticated than universal kindness.

It requires:

cooperation → response to defection → proportionality → possibility of renewed cooperation.

Punishment preserves the system.

Forgiveness prevents the system from becoming a permanent battlefield.

This is why the forgiveness element of Tit-for-Tat is so important. It creates an exit mechanism from retaliation.

Human beings are otherwise quite capable of turning one insult into a three-generation project.


Dharma becomes difficult when obligations collide

The analogy becomes more complicated—and much more interesting—when one remembers that human beings participate in multiple games simultaneously.

A person is simultaneously:

  • a parent,
  • a child,
  • a citizen,
  • a professional,
  • a friend,
  • a member of a community.

Each role generates obligations.

What happens when they conflict?

The Mahabharata is essentially an enormous exploration of this problem.

Bhishma's vow conflicts with political justice.

Karna's loyalty conflicts with his knowledge of the larger truth.

Drona's obligations conflict with his personal relationships.

Yudhishthira's commitment to truth collides with the requirements of war.

Arjuna's familial love collides with his warrior duty.

This is dharma saṃkaṭa—the crisis produced when legitimate obligations collide.

And this is where dharma differs sharply from a simple game-theoretic rulebook.

There is no universal algorithm saying:

“When Rule A meets Rule B, press Button C.”

The Mahabharata repeatedly demonstrates that sometimes every available choice carries moral damage.

Dharma is therefore not merely about following rules.

It is about judging which obligation has priority in a particular context.


The Mahabharata as a failed repeated game

Seen through this lens, the Mahabharata becomes an extraordinary study of the breakdown of cooperation.

The Kuru world begins with a dense network of relationships, obligations, vows, kinship and institutional memory.

But gradually:

trust declines → resentment grows → reputation becomes weaponised → retaliation becomes obligatory → compromise becomes impossible.

Everyone increasingly optimises for the immediate game.

Duryodhana fears that concession means weakness.

Shakuni turns strategic manipulation into an art form.

Karna's identity becomes intertwined with loyalty and grievance.

The Pandavas become locked into reciprocal responses.

Bhishma and Drona recognise the deterioration but remain trapped by their own obligations.

Eventually, cooperation ceases to be a viable equilibrium.

War follows.

The tragedy is that there is no single villainous decision that explains everything.

The system itself has become unstable.

That is one reason the Mahabharata remains so modern.

It understands that collective disasters can emerge from individually intelligible decisions.

Everyone can have a reason.

The system can still collapse.


But stability is not morality

Here the analogy must be handled carefully.

Game theory can explain why an equilibrium is stable.

It cannot establish that the equilibrium is morally desirable.

A society can reproduce inequality for centuries.

An authoritarian system can be stable.

A corrupt institution can become self-reinforcing.

An oppressive hierarchy can become normal precisely because everyone learns to behave within it.

Therefore:

An equilibrium is not necessarily justice.

This is also one of the tensions within traditional conceptions of dharma.

Role-based duty can create coordination, but it can also legitimise hierarchy.

The same concept that tells a king to protect the weak can tell others to remain within inherited social roles.

The analogy with game theory therefore exposes a danger:

Dharma can preserve a social game—but preserving a game does not prove that the game deserves to survive.

Sometimes the moral task is not to play better.

It is to change the rules.


Krishna goes beyond Tit-for-Tat

This is where the Bhagavad Gita takes the argument somewhere game theory cannot easily follow.

Krishna tells Arjuna:

“Your right is to action alone, not to its fruits.”

This sounds almost absurd from a conventional economic perspective.

Why act if the payoff does not matter?

Krishna's point, however, is not indifference to consequences.

It is freedom from psychological attachment to the result.

A person should perform his role properly without making success, praise, victory or reward the basis of his identity.

This creates a remarkable distinction.

Tit-for-Tat says:

Cooperate because future interaction makes cooperation strategically valuable.

Karma yoga says:

Act rightly without making the outcome the master of the actor.

The first is a theory of optimal strategy.

The second is a theory of freedom.

The person continues to participate in the social game but ceases to be psychologically possessed by its scoreboard.


The four-level architecture

The entire comparison can therefore be compressed into four layers.

Dharma
The norms that make sustained social cooperation possible.

Karma
The consequences—external, psychological and, in traditional thought, metaphysical—generated by action.

Samsara
The continuation of the process through repeated existence, attachment and action.

Moksha
Freedom from being bound by that process.

This is where Indian philosophy ultimately moves beyond game theory.

Game theory asks:

How should the player behave?

Dharma asks:

What behaviour sustains a worthwhile social order?

Karma asks:

What does that behaviour do to the actor?

Moksha asks:

Why must the actor remain psychologically dependent upon the game's rewards at all?

The progression is extraordinary.


The Buddhist challenge: perhaps there is no permanent player

Buddhism complicates the picture still further.

If karma requires a permanent self who owns its consequences, what happens when the doctrine of an eternal self is rejected?

Buddhism answers through causal continuity rather than an enduring soul.

One state gives rise to another.

The flame lights another flame.

There is continuity without permanent identity.

This means karma need not require a metaphysical “player” who remains unchanged throughout the game.

The process itself continues.

That is a radical philosophical move.

And it demonstrates again that there was never one uniform Indian doctrine of karma.

The Cārvāka tradition rejected karma and rebirth altogether, treating consciousness as a material phenomenon.

Indian philosophy was therefore not one voice delivering one answer.

It was a centuries-long argument about self, action, causation, morality and liberation.


The economic dimension: trust as invisible infrastructure

The modern relevance of the argument becomes particularly clear in economics.

Complex economies cannot function if every transaction requires complete surveillance.

Credit depends on trust.

Contracts depend on enforcement.

Brands depend on consistency.

Professional markets depend on reputation.

Financial systems depend on expectations that most participants will honour their commitments.

Trust therefore reduces transaction costs.

Repeated interaction creates incentives for cooperation.

Reputation makes yesterday's behaviour relevant to tomorrow's transaction.

Institutions formalise these expectations.

Norms internalise them.

Dharma can be seen as an ancient vocabulary for part of this infrastructure.

Not all of it, certainly.

But enough to make the comparison intellectually productive.

A civilisation is essentially a vast network of repeated games in which most participants will never know precisely when their own interaction with another participant will matter.

The remarkable achievement of civilisation is making cooperation possible among strangers.


The final paradox: the game must be played, but not worshipped

The deepest synthesis may therefore be this:

Tit-for-Tat teaches reciprocity.

Dharma teaches responsible participation in the social order.

Karma teaches that action leaves consequences.

The Mahabharata demonstrates what happens when competing obligations destroy cooperation.

The Gita teaches action without attachment.

Moksha points beyond the game.

The great Indian insight may therefore not be that the universe functions as a cosmic bookkeeping department.

It may be something subtler:

Human beings create, reinforce and inherit the worlds produced by their repeated patterns of action.

A dishonest society makes dishonesty rational.

A trusting society makes trust rational.

A vengeful society makes revenge rational.

A generous society makes generosity easier.

A fearful society manufactures fear.

The individual therefore lives inside a world partly created by the accumulated behaviour of others—and simultaneously helps create the world in which others will live.

That is the bridge between karma, dharma and repeated-game theory.

And it leads to a final paradox.

Dharma tells society how to keep the game going. Karma reminds the individual that every move changes both the game and the player. The Gita then asks whether the wisest player is the one who wins—or the one who can participate completely without becoming a prisoner of the score.


Reflection

The most compelling lesson in this comparison is that morality may be partly understood as an attempt to solve the problem of repeated human interaction. People meet again. Children inherit institutions. Reputation travels. Trust accumulates. Betrayal propagates. Revenge compounds. Cooperation, once established, can become self-reinforcing. In that sense, dharma is not merely a list of commandments; it is an attempt to encode the behavioural conditions under which a complex society can continue to function. Karma adds another dimension: action changes not only circumstances but the actor's own disposition. Yet the Mahabharata warns that stable rules can collide, and that social order itself may sometimes be unjust. The Gita goes further still. It asks whether a person can perform his obligations without becoming enslaved to their rewards. That may be the deepest distinction between strategy and wisdom: strategy asks how to win the game; wisdom asks how to play without losing oneself.


References

  • Robert Axelrod, The Evolution of Cooperation (1984).
  • Robert Axelrod, The Complexity of Cooperation (1997).
  • Rupert Gethin, The Foundations of Buddhism (Oxford University Press, 1998).
  • Peter Harvey, An Introduction to Buddhist Ethics (Cambridge University Press, 2000).
  • Patrick Olivelle, The Āśrama System: The History and Hermeneutics of a Religious Institution.
  • Alf Hiltebeitel, works on Dharma and Mokṣadharma in the Mahabharata.
  • The Bhagavad Gita, especially Chapter 2.
  • The Mahabharata, especially the Śānti Parva and Mokṣadharma.
  • Stanford Encyclopedia of Philosophy, entries on Karma, Personhood in Classical Indian Philosophy, Naturalism in Classical Indian Philosophy, and Prisoner's Dilemma.
  • Yale Open Courses, Economics 159, lectures on repeated games.
  • Howard, “Dharma Saṃkaṭa in the Mahābhārata: Existential Struggles and Real Repercussions,” Journal of Religious Ethics.

#Dharma
#Karma
#GameTheory
#IndianPhilosophy
#BehavioralEconomics

Comments

Popular Posts