2.0.0 : multijoueur — monde partagé persistant, DLA paramétrables par monstre, admin à chaud

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
perco
2026-06-12 10:53:16 +02:00
co-authored by Claude Fable 5
parent e5a4148ee8
commit 1a5d2c7317
10 changed files with 1839 additions and 11 deletions
+4 -3
View File
@@ -4,7 +4,7 @@
"use strict";
const APP_VERSION = "1.9.0";
const APP_VERSION = "2.0.0";
/* Alpha : maîtrise initiale haute pour les tests. Remettre 15 % / 15 % à la v1.0 officielle. */
const START_COMP_PCT = 90;
@@ -1497,13 +1497,14 @@ if (typeof document !== "undefined") {
});
}
/* Export pour les tests node */
/* Export pour les tests node et le moteur multijoueur (mp.js) */
if (typeof module !== "undefined" && module.exports) {
module.exports = {
APP_VERSION, rollDice, resolveAttack, resolveSpell, masteryRoll, improveCost, levelFromTotalPI, killPX,
RACES, MONSTER_TYPES, BOSS, TEMPLATES, makeMonster, monsterFromSpec, itemFromSpec, equipGear,
RACES, MONSTER_TYPES, BOSS, TEMPLATES, applyTemplate, makeMonster, monsterFromSpec, itemFromSpec, equipGear,
generateCavern, largestRegion,
MAP_W, MAP_H, T_WALL, T_FLOOR, T_STAIRS,
COSTS, PA_PER_TURN, START_COMP_PCT, START_SORT_PCT,
newGame, refreshFov, inSightAt,
get state() { return G; },
};