Some (idle) thoughts on a game of life computer program based on Sanathana Dharma!

A correspondent had passed on two links related to a game programming patterns book, http://gameprogrammingpatterns.com/,  http://journal.stuffwithstuff.com/2014/04/22/zero-to-95688-how-i-wrote-game-programming-patterns/.

That led me to write the following to him (slightly modified) on a game of life which I thought some readers may also want to have a quick look at:

While on the topic of games, I wanted to share with you an idea that I have had with me for a long time - more a sort-of idle thought idea rather than something that I myself will want to get down and program (I think those days are gone for me now).

The idea is about having a game of life as viewed from a Hindu belief perspective with Maya, law of karma, reincarnation, desire, prayer, turning inward to untangle one's inner reality from Maya etc. One could also consider modern perspectives on core aspects of life. For example I read that the four basic instincts of man (and animals) are hunger, sleep, sex (procreation) and self-preservation. But man has something more like conscience which prompts him about right & wrong and tries to hold back the mind which is driven by instinct. The shadripus of Kama (desire especially sexual desire), Krodha (anger), Lobha (Greed), Moha (infatuation/attachment), Mada (arrogance/pride) and Matsarya (Jealousy) are also important to be added to the mix (though desire has already been mentioned earlier). Samskaras gained over many janmas also are a factor.

What I feel is that if one brings in all of these aspects as variables of some sort for an individual and then brings in interactions with other individuals (same aspects but different values in some sense) and events (e.g. illness) then one reproduces in some limited way, real life! Further, I wonder whether there is a possibility of mathematical equations of some sort which can be used to predict the outcome of such interactions.

Just imagine if such a game shows the more painful outcome for people who have not imbibed Sathya, Dharma, Shanti and Prema, as compared to people who have, for the same interactions with other kind of people & events! What a way it will be to teach children (and adults) about the great advantages of following Sathya, Dharma, Shanti & Prema!
------

A correspondent, Chandu Patel, responded to the above, as follows (slightly edited):

It would be wonderful if such mathematical equations can be formulated! I call it some sort of algorithm. It would be just awesome! Let me know if you come across some pointers/information on such equations/algorithm.

However, it looks like, there is one (major) difference between mathematics and human life. One is so precise and predictable while the other seems to be not. In the former, 2+2 is always 4. For human life (not sure about animal life), smile does not always translate to happiness, crying is not always due to sorrow/suffering, giving is not always noble, a hug does not always signify love, mother's slapping her child is not always a bad act (sometime it is bad if she doesn't slap/beat-up). Because, there is more than just meets the eyes. There is the invisible factor of motive behind it. So, not sure if such equations can be formulated. But then nature appears to be so precise, and so should be the theory of karma. Someone (supernatural/supreme power) must have designed those equations/algorithm, and would know the secret equations/algorithm. But, it seems to be beyond the reach of the normal human.

It is similar to Arjuna's quest for black&white answers to his questions in the Bhagvad Geeta. It appears that Arjuna asked many, many life-questions for which he sought some black&white (with mathematical clarity) answers from Shri Krushna (Krishna). And even Shri Krushna had to tell Arjuna not to go deeper, because gahanaa karmano gatih (chapter 4, verse 17) [Ravi: gahanaa karmano gatih - The intricacies of karma are very hard to understand (deep, impassable, mysterious), http://vedabase.net/bg/4/17/en1]. I believe, in the beginning of one of the 4 Vedas itself (don't remember which one), the author sage mentioned that even he doesn't know the secret of how the Karma theory and other laws of nature exactly works, but it works.

--- end Chandu Patel response ---

Comments

Archive

Show more