@ak--47/dungeon-master 1.2.3 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +51 -13
  3. package/dungeons/technical/ad-spend.js +2 -2
  4. package/dungeons/technical/anonymous-users.js +2 -2
  5. package/dungeons/technical/array-of-object-lookup.js +2 -4
  6. package/dungeons/technical/experiments.js +2 -2
  7. package/dungeons/technical/foobar.js +2 -2
  8. package/dungeons/technical/group-analytics.js +2 -2
  9. package/dungeons/technical/mirror-strategies.js +2 -2
  10. package/dungeons/technical/nested-objects.js +2 -2
  11. package/dungeons/technical/retention-cadence.js +2 -3
  12. package/dungeons/technical/sanity.js +2 -2
  13. package/dungeons/technical/scale-test.js +2 -2
  14. package/dungeons/technical/scd.js +2 -2
  15. package/dungeons/technical/simple.js +5 -6
  16. package/dungeons/technical/simplest-schema.json +5 -0
  17. package/dungeons/technical/simplest.js +2 -2
  18. package/dungeons/technical/text-generation.js +3 -3
  19. package/dungeons/vertical/ai-platform.js +858 -0
  20. package/dungeons/vertical/community.js +84 -40
  21. package/dungeons/vertical/crypto.js +830 -0
  22. package/dungeons/vertical/dating.js +744 -0
  23. package/dungeons/vertical/devtools.js +175 -69
  24. package/dungeons/vertical/ecommerce.js +242 -94
  25. package/dungeons/vertical/education.js +330 -313
  26. package/dungeons/vertical/fintech.js +442 -313
  27. package/dungeons/vertical/fitness.js +143 -61
  28. package/dungeons/vertical/food-delivery.js +327 -353
  29. package/dungeons/vertical/gaming.js +912 -382
  30. package/dungeons/vertical/healthcare.js +142 -63
  31. package/dungeons/vertical/insurance-application.js +170 -76
  32. package/dungeons/vertical/logistics.js +115 -20
  33. package/dungeons/vertical/marketplace.js +152 -58
  34. package/dungeons/vertical/media.js +248 -384
  35. package/dungeons/vertical/real-estate.js +781 -0
  36. package/dungeons/vertical/sass.js +255 -266
  37. package/dungeons/vertical/social.js +264 -206
  38. package/dungeons/vertical/travel.js +117 -41
  39. package/index.js +17 -17
  40. package/lib/core/config-validator.js +159 -31
  41. package/lib/core/context.js +10 -24
  42. package/lib/core/storage.js +6 -1
  43. package/lib/generators/events.js +11 -14
  44. package/lib/generators/funnels.js +12 -4
  45. package/lib/generators/mirror.js +3 -2
  46. package/lib/generators/product-names.js +1 -1
  47. package/lib/generators/scd.js +2 -1
  48. package/lib/generators/text.js +1 -1
  49. package/lib/orchestrators/user-loop.js +81 -47
  50. package/lib/templates/macro-presets.js +111 -0
  51. package/lib/templates/soup-presets.js +19 -36
  52. package/lib/utils/utils.js +71 -39
  53. package/package.json +8 -2
  54. package/scripts/smoke-test-all.mjs +162 -0
  55. package/scripts/verify-runner.mjs +72 -24
  56. package/types.d.ts +251 -51
  57. package/dungeons/technical/ad-spend-schema.json +0 -128
  58. package/dungeons/technical/anonymous-users-schema.json +0 -92
  59. package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
  60. package/dungeons/technical/experiments-schema.json +0 -203
  61. package/dungeons/technical/foobar-schema.json +0 -362
  62. package/dungeons/technical/group-analytics-schema.json +0 -241
  63. package/dungeons/technical/mirror-strategies-schema.json +0 -84
  64. package/dungeons/technical/nested-objects-schema.json +0 -145
  65. package/dungeons/technical/retention-cadence-schema.json +0 -37
  66. package/dungeons/technical/sanity-schema.json +0 -185
  67. package/dungeons/technical/scale-test-schema.json +0 -70
  68. package/dungeons/technical/scd-schema.json +0 -467
  69. package/dungeons/technical/simple-schema.json +0 -362
  70. package/dungeons/technical/text-generation-schema.json +0 -1062
  71. package/dungeons/user/.gitkeep +0 -0
  72. package/dungeons/vertical/community-schema.json +0 -579
  73. package/dungeons/vertical/devtools-schema.json +0 -601
  74. package/dungeons/vertical/ecommerce-schema.json +0 -604
  75. package/dungeons/vertical/education-schema.json +0 -5686
  76. package/dungeons/vertical/fintech-schema.json +0 -630
  77. package/dungeons/vertical/fitness-schema.json +0 -530
  78. package/dungeons/vertical/food-delivery-schema.json +0 -36728
  79. package/dungeons/vertical/gaming-schema.json +0 -438
  80. package/dungeons/vertical/healthcare-schema.json +0 -549
  81. package/dungeons/vertical/insurance-application-schema.json +0 -485
  82. package/dungeons/vertical/logistics-schema.json +0 -574
  83. package/dungeons/vertical/marketplace-schema.json +0 -533
  84. package/dungeons/vertical/media-schema.json +0 -4749
  85. package/dungeons/vertical/rpg-schema.json +0 -2491
  86. package/dungeons/vertical/rpg.js +0 -976
  87. package/dungeons/vertical/sass-schema.json +0 -3128
  88. package/dungeons/vertical/social-schema.json +0 -620
  89. package/dungeons/vertical/travel-schema.json +0 -580
@@ -1,438 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "app install",
5
- "weight": 10,
6
- "isFirstEvent": true
7
- },
8
- {
9
- "event": "character creation",
10
- "weight": 2,
11
- "properties": {
12
- "mode": [
13
- "fast",
14
- "slow",
15
- "template"
16
- ]
17
- }
18
- },
19
- {
20
- "event": "join party",
21
- "weight": 8,
22
- "properties": {
23
- "party size": {
24
- "$range": [
25
- 2,
26
- 5
27
- ]
28
- },
29
- "party leader": [
30
- "Bard",
31
- "Cleric",
32
- "Fighter",
33
- "Rogue",
34
- "Wizard",
35
- "Paladin",
36
- "Ranger",
37
- "Sorcerer",
38
- "Warlock"
39
- ]
40
- }
41
- },
42
- {
43
- "event": "start quest",
44
- "weight": 12,
45
- "properties": {
46
- "quest type": [
47
- "Rescue",
48
- "Retrieve",
49
- "Explore",
50
- "Destroy",
51
- "Investigate"
52
- ],
53
- "quest difficulty": [
54
- "Easy",
55
- "Medium",
56
- "Hard",
57
- "Legendary"
58
- ],
59
- "quest location": [
60
- "Forest",
61
- "Dungeon",
62
- "Mountain",
63
- "City",
64
- "Desert"
65
- ],
66
- "party size": {
67
- "$range": [
68
- 2,
69
- 5
70
- ]
71
- },
72
- "used hint": [
73
- "no",
74
- "yes"
75
- ],
76
- "used boost": [
77
- "no",
78
- "yes"
79
- ],
80
- "level at start": {
81
- "$range": [
82
- 2,
83
- 17
84
- ]
85
- }
86
- }
87
- },
88
- {
89
- "event": "complete quest",
90
- "weight": 12,
91
- "properties": {
92
- "completion time (mins)": {
93
- "$range": [
94
- 20,
95
- 115
96
- ]
97
- },
98
- "quest reward (gold)": {
99
- "$range": [
100
- 11,
101
- 451
102
- ]
103
- },
104
- "quest success": [
105
- "yes",
106
- "no"
107
- ],
108
- "used hint": [
109
- "no",
110
- "yes"
111
- ],
112
- "used boost": [
113
- "no",
114
- "yes"
115
- ],
116
- "number of deaths": [
117
- 1,
118
- 3
119
- ],
120
- "level at start": {
121
- "$range": [
122
- 2,
123
- 19
124
- ]
125
- },
126
- "level at end": {
127
- "$range": [
128
- 2,
129
- 19
130
- ]
131
- }
132
- }
133
- },
134
- {
135
- "event": "gameplay summary",
136
- "weight": 14,
137
- "properties": {
138
- "# enemies defeated": {
139
- "$range": [
140
- 7,
141
- 93
142
- ]
143
- },
144
- "# respawns": {
145
- "$range": [
146
- 0,
147
- 10
148
- ]
149
- },
150
- "# attacks": {
151
- "$range": [
152
- 14,
153
- 52
154
- ]
155
- },
156
- "# gold found": {
157
- "$range": [
158
- 49,
159
- 886
160
- ]
161
- }
162
- }
163
- },
164
- {
165
- "event": "in-game purchase",
166
- "weight": 2,
167
- "properties": {
168
- "purchase type": [
169
- "Gold",
170
- "Gems",
171
- "Items: Weapons",
172
- "Items: Armor",
173
- "Items: Potions",
174
- "Items: Scrolls",
175
- "Boosts",
176
- "Currency"
177
- ],
178
- "purchase amount": {
179
- "$range": [
180
- 3,
181
- 36
182
- ]
183
- },
184
- "is_whale": [
185
- false
186
- ]
187
- }
188
- },
189
- {
190
- "event": "fight boss",
191
- "weight": 3,
192
- "properties": {
193
- "boss type": [
194
- "Dragon",
195
- "Demon",
196
- "Lich",
197
- "Vampire",
198
- "Beholder"
199
- ],
200
- "boss level": {
201
- "$range": [
202
- 10,
203
- 18
204
- ]
205
- },
206
- "boss difficulty": [
207
- "Hard",
208
- "Legendary",
209
- "Impossible"
210
- ],
211
- "fight duration (mins)": {
212
- "$range": [
213
- 6,
214
- 59
215
- ]
216
- }
217
- }
218
- },
219
- {
220
- "event": "level up",
221
- "properties": {
222
- "new abilities": [
223
- "Attack",
224
- "Spell",
225
- "Feat",
226
- "Skill"
227
- ]
228
- }
229
- },
230
- {
231
- "event": "attack",
232
- "weight": 5,
233
- "properties": {
234
- "generic_prop": [
235
- "foo",
236
- "bar",
237
- "baz",
238
- "qux"
239
- ]
240
- }
241
- },
242
- {
243
- "event": "defend",
244
- "weight": 3,
245
- "properties": {
246
- "generic_prop": [
247
- "foo",
248
- "bar",
249
- "baz",
250
- "qux"
251
- ]
252
- }
253
- }
254
- ],
255
- "funnels": [
256
- {
257
- "sequence": [
258
- "app install",
259
- "character creation",
260
- "join party"
261
- ],
262
- "isFirstFunnel": true,
263
- "conversionRate": 0.8,
264
- "timeToConvert": 0.25
265
- },
266
- {
267
- "sequence": [
268
- "start quest",
269
- "gameplay summary",
270
- "complete quest"
271
- ],
272
- "conversionRate": 0.99,
273
- "timeToConvert": 1,
274
- "props": {
275
- "quest type": [
276
- "Rescue",
277
- "Retrieve",
278
- "Explore",
279
- "Destroy",
280
- "Investigate"
281
- ],
282
- "quest difficulty": [
283
- "Easy",
284
- "Medium",
285
- "Hard",
286
- "Legendary"
287
- ],
288
- "quest location": [
289
- "Forest",
290
- "Dungeon",
291
- "Mountain",
292
- "City",
293
- "Desert"
294
- ]
295
- }
296
- }
297
- ],
298
- "superProps": {
299
- "Platform": [
300
- "Mobile",
301
- "Xbox",
302
- "Playstation",
303
- "Switch",
304
- "Web"
305
- ],
306
- "game mode": [
307
- "Single Player",
308
- "Multiplayer"
309
- ],
310
- "language": [
311
- "English",
312
- "Spanish",
313
- "French",
314
- "German",
315
- "Japanese",
316
- "Korean",
317
- "Chinese"
318
- ]
319
- },
320
- "userProps": {
321
- "experiment": [
322
- "fast leveling",
323
- "tension economy",
324
- "free trial"
325
- ],
326
- "variant": [
327
- "A",
328
- "B",
329
- "C",
330
- "Control"
331
- ],
332
- "race": [
333
- "Human",
334
- "Elf",
335
- "Dwarf",
336
- "Halfling",
337
- "Dragonborn",
338
- "Gnome",
339
- "Half-Elf",
340
- "Half-Orc",
341
- "Tiefling"
342
- ],
343
- "class": [
344
- "Barbarian",
345
- "Bard",
346
- "Cleric",
347
- "Druid",
348
- "Fighter",
349
- "Monk",
350
- "Paladin",
351
- "Ranger",
352
- "Rogue",
353
- "Sorcerer",
354
- "Warlock",
355
- "Wizard"
356
- ],
357
- "alignment": [
358
- "Lawful Good",
359
- "Neutral Good",
360
- "Chaotic Good",
361
- "Lawful Neutral",
362
- "True Neutral",
363
- "Chaotic Neutral",
364
- "Lawful Evil",
365
- "Neutral Evil",
366
- "Chaotic Evil"
367
- ],
368
- "level": {
369
- "$range": [
370
- 3,
371
- 15
372
- ]
373
- },
374
- "background": [
375
- "Acolyte",
376
- "Charlatan",
377
- "Criminal",
378
- "Entertainer",
379
- "Folk Hero",
380
- "Guild Artisan",
381
- "Hermit",
382
- "Noble",
383
- "Outlander",
384
- "Sage",
385
- "Sailor",
386
- "Soldier",
387
- "Urchin"
388
- ],
389
- "subscription MRR": {
390
- "$range": [
391
- 0,
392
- 244
393
- ]
394
- },
395
- "archetype": [
396
- "neutral"
397
- ]
398
- },
399
- "scdProps": {
400
- "subscription MRR": {
401
- "type": "user",
402
- "frequency": "week",
403
- "timing": "fixed",
404
- "max": 250,
405
- "values": {
406
- "$range": [
407
- 1,
408
- 221
409
- ]
410
- }
411
- },
412
- "player_rank": {
413
- "type": "user",
414
- "frequency": "week",
415
- "timing": "fuzzy",
416
- "max": 250,
417
- "values": [
418
- "bronze",
419
- "silver",
420
- "gold",
421
- "diamond",
422
- "legendary"
423
- ]
424
- },
425
- "guild_rank": {
426
- "type": "guild_id",
427
- "frequency": "month",
428
- "timing": "fixed",
429
- "max": 6,
430
- "values": [
431
- "bronze",
432
- "silver",
433
- "gold",
434
- "legendary"
435
- ]
436
- }
437
- }
438
- }