Play a browser game based on Hindu karma philosophy and the chariot metaphor.
Experiment with keyboard or gamepad controls to steer the chariot and manage karma.
Explore the game's three possible endings: liberation, dissolution, or rebirth.
Read the in-game Shastra scroll for the underlying spiritual philosophy.
| weirdcodesofficial/moksha | 0xmukesh/docusaurus-tutorial | 1tsmejp/palworld-docker-wine | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-12-27 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 1/5 | 2/5 | 4/5 |
| Audience | general | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Must be served from a local web server, not opened as a file, or its audio files fail to load and the game runs in a degraded mode.
MOKSHA is a browser game built entirely around ideas from Sanatan (Hindu) philosophy and the concept of karma. You control a chariot that represents the human body, steering it while managing senses, good and bad karma, and a limited amount of remaining breath, shown as a ring of lotus petals that empties over time. The core idea comes from a well known chariot metaphor found in Hindu scripture, where six horses stand for the senses, the reins for the mind, and a passenger for the soul. Gameplay revolves around chanting, called Naam Jaap, which can burn off different amounts of accumulated karma depending on how many times you chant in a row, along with actions for detaching from good karma before it locks you in, sacrificing your chariot on purpose, and triggering a fresh rebirth once your karma reaches zero. A cyclone representing illusion can only be cleared using a conch sound, not by chanting. The game tracks several karma related variables behind the scenes and uses them to decide whether a playthrough ends in liberation, dissolution, or rebirth into a new life. Technically, the whole game is a single HTML file using plain JavaScript with no framework or build tools, rendered on an HTML5 canvas with layered background audio and sound effects through the Web Audio API. It supports both keyboard controls and a gamepad, including deadzone handling for controller sticks. Because it loads about two dozen audio files, it needs to be served from a local web server rather than opened directly as a file, or the audio will fail to load and the game drops into a lower quality mode. It runs best in an updated Chrome or Edge browser with hardware acceleration turned on, browser zoom at 100 percent, and the tab kept in the foreground so its animation timer is not throttled. The README also includes an extensive Hindi language developer reference documenting the exact karma variables and win conditions used in the code.
A browser game where you steer a chariot representing the body, managing karma and senses to reach one of three philosophical endings.
Mainly JavaScript. The stack also includes JavaScript, HTML5 Canvas, Web Audio API.
The README does not state a license for this project.
Setup difficulty is rated moderate, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.