mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-11-14 11:03:53 +01:00
A browser-based roguelike synchronized with crypto block timing. A run is a race against the next block: reach the exit before the block lands, or the house wins. The same codebase runs the solo dungeon, the social Tavern, and operator-selected PvP and race rulesets, with separate free and paid leaderboards. Self-hostable under the MIT License. See README.md to run it, docs/ARCHITECTURE.md for the design, and docs/DEPLOY.md to operate an instance.
9 lines
338 B
JavaScript
9 lines
338 B
JavaScript
const { isTestNetworkFor } = require('../game/helpers/gameModeUtils');
|
|
|
|
/** Smirk is an explicit mainnet-only feature. Missing, malformed, or truthy-ish values stay off. */
|
|
function isSmirkEnabled(env = process.env) {
|
|
return env.SMIRK_ENABLED === 'true' && !isTestNetworkFor(env.MONERO_NETWORK);
|
|
}
|
|
|
|
module.exports = { isSmirkEnabled };
|