@vibemancer/core 0.1.0 → 0.1.2

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 (50) hide show
  1. package/README.md +28 -28
  2. package/dist/{chunk-L7Z7OFXD.js → chunk-OL7ETV6V.js} +3 -3
  3. package/dist/chunk-OL7ETV6V.js.map +1 -0
  4. package/dist/index-browser.d.ts +1 -1
  5. package/dist/index-browser.js +1 -1
  6. package/dist/index.js +1 -1
  7. package/package.json +79 -78
  8. package/src/bots/berserker/01_Stormchaser.ts +457 -457
  9. package/src/bots/berserker/02_Stormcaller.ts +417 -417
  10. package/src/bots/berserker/03_Stormforger.ts +481 -481
  11. package/src/bots/caster/01_Flamecaller.ts +286 -286
  12. package/src/bots/caster/02_Pyromancer.ts +350 -350
  13. package/src/bots/caster/03_Infernalist.ts +492 -492
  14. package/src/bots/defensive/01_Turtle.ts +151 -151
  15. package/src/bots/defensive/02_Sentinel.ts +134 -134
  16. package/src/bots/defensive/03_Golem.ts +357 -357
  17. package/src/bots/duelist/01_Battlemage.ts +433 -433
  18. package/src/bots/duelist/02_Warmage.ts +438 -438
  19. package/src/bots/duelist/03_Archmage.ts +588 -588
  20. package/src/bots/homing/01_Bonemancer.ts +67 -67
  21. package/src/bots/homing/02_Lich.ts +356 -356
  22. package/src/bots/homing/03_Archlich.ts +220 -220
  23. package/src/bots/kiter/01_Spellspinner.ts +398 -398
  24. package/src/bots/kiter/02_Spellweaver.ts +378 -378
  25. package/src/bots/kiter/03_Spellbinder.ts +448 -448
  26. package/src/bots/melee/01_Shadowblade.ts +270 -270
  27. package/src/bots/melee/02_Nightblade.ts +437 -437
  28. package/src/bots/melee/03_Voidblade.ts +582 -582
  29. package/src/bots/sniper/01_Spellshot.ts +385 -385
  30. package/src/bots/sniper/02_Spelltracer.ts +441 -441
  31. package/src/bots/sniper/03_Spellseeker.ts +546 -546
  32. package/src/bots/standalone/Critter.ts +89 -89
  33. package/src/bots/standalone/Doombringer.ts +91 -91
  34. package/src/bots/standalone/Hogger.ts +228 -228
  35. package/src/bots/standalone/Rookie.ts +50 -50
  36. package/src/bots/standalone/TargetDummy.ts +21 -21
  37. package/src/bots/test/cheater.ts +405 -405
  38. package/src/bots/test/crasher.ts +81 -81
  39. package/src/engine/hooks-runtime.ts +394 -394
  40. package/src/engine/manual-match.ts +289 -289
  41. package/src/engine/missile-templates.ts +155 -155
  42. package/src/engine/physics.ts +143 -143
  43. package/src/engine/simulation.ts +828 -828
  44. package/src/engine/spells.ts +128 -128
  45. package/src/engine-version.ts +1 -1
  46. package/src/index.ts +23 -23
  47. package/src/rules.ts +254 -254
  48. package/src/types.ts +193 -193
  49. package/src/utils/index.ts +6 -6
  50. package/dist/chunk-L7Z7OFXD.js.map +0 -1
@@ -293,7 +293,7 @@ declare const ARENA_WATER_BUFFER = 200;
293
293
  * Used to gate spectator replays: a recorded match can only be re-simulated when
294
294
  * the runtime engine version matches the version that produced the match.
295
295
  */
296
- declare const ENGINE_VERSION = 1777556890699;
296
+ declare const ENGINE_VERSION = 1777588619130;
297
297
 
298
298
  interface InternalWizardState extends WizardState {
299
299
  missileConfig?: MissileConfig;
@@ -200,7 +200,7 @@ import {
200
200
  withBotContext,
201
201
  wrapNewBot,
202
202
  wrapWithParams
203
- } from "./chunk-L7Z7OFXD.js";
203
+ } from "./chunk-OL7ETV6V.js";
204
204
  export {
205
205
  ALL_BOTS,
206
206
  ARENA_HEIGHT,
package/dist/index.js CHANGED
@@ -200,7 +200,7 @@ import {
200
200
  withBotContext,
201
201
  wrapNewBot,
202
202
  wrapWithParams
203
- } from "./chunk-L7Z7OFXD.js";
203
+ } from "./chunk-OL7ETV6V.js";
204
204
 
205
205
  // src/engine/sandbox.ts
206
206
  import ivm from "isolated-vm";
package/package.json CHANGED
@@ -1,79 +1,80 @@
1
1
  {
2
- "name": "@vibemancer/core",
3
- "version": "0.1.0",
4
- "description": "Vibemancer game engine - competitive programming wizard battle arena",
5
- "type": "module",
6
- "author": "Low Entry",
7
- "license": "MIT",
8
- "homepage": "https://vibemancer.com",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/LowEntry/lowentry-app-vibemancer.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/LowEntry/lowentry-app-vibemancer/issues"
15
- },
16
- "keywords": [
17
- "vibemancer",
18
- "game",
19
- "wizard",
20
- "battle",
21
- "arena",
22
- "programming",
23
- "ai",
24
- "typescript"
25
- ],
26
- "main": "./dist/index.js",
27
- "types": "./dist/index.d.ts",
28
- "exports": {
29
- ".": {
30
- "browser": {
31
- "types": "./dist/index-browser.d.ts",
32
- "import": "./dist/index-browser.js"
33
- },
34
- "import": {
35
- "types": "./dist/index.d.ts",
36
- "default": "./dist/index.js"
37
- }
38
- }
39
- },
40
- "files": [
41
- "dist",
42
- "src"
43
- ],
44
- "devDependencies": {
45
- "@stylistic/eslint-plugin": "^5.7.1",
46
- "@types/node": "^25.3.0",
47
- "eslint": "^9.39.2",
48
- "eslint-plugin-jsonc": "^2.21.0",
49
- "firebase": "^12.11.0",
50
- "firebase-admin": "^13.7.0",
51
- "jsdom": "^27.4.0",
52
- "jsonc-eslint-parser": "^2.4.2",
53
- "tsup": "^8.5.1",
54
- "typescript": "^5.9.3",
55
- "typescript-eslint": "^8.53.1",
56
- "vitest": "^4.0.18"
57
- },
58
- "dependencies": {
59
- "@lowentry/utils": "^2.0.9",
60
- "esbuild": "^0.27.3",
61
- "isolated-vm": "^6.0.2",
62
- "openskill": "^4.1.1"
63
- },
64
- "scripts": {
65
- "build": "tsup",
66
- "lint": "eslint .",
67
- "format": "eslint . --fix",
68
- "test": "pnpm run type-check && pnpm run lint && vitest run",
69
- "type-check": "tsc --noEmit",
70
- "test:watch": "vitest",
71
- "test:coverage": "vitest run --coverage",
72
- "clean": "rm -rf dist coverage",
73
- "optimize": "tsx scripts/optimize-all.ts",
74
- "benchmark": "tsx scripts/benchmark.ts",
75
- "fight-trace": "tsx scripts/fight-trace.ts",
76
- "scorecard": "tsx scripts/bot-scorecard.ts",
77
- "tournament": "tsx scripts/tournament.ts"
78
- }
79
- }
2
+ "name": "@vibemancer/core",
3
+ "version": "0.1.2",
4
+ "description": "Vibemancer game engine - competitive programming wizard battle arena",
5
+ "type": "module",
6
+ "author": "Low Entry",
7
+ "license": "MIT",
8
+ "homepage": "https://vibemancer.com",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/LowEntry/lowentry-app-vibemancer.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/LowEntry/lowentry-app-vibemancer/issues"
15
+ },
16
+ "keywords": [
17
+ "vibemancer",
18
+ "game",
19
+ "wizard",
20
+ "battle",
21
+ "arena",
22
+ "programming",
23
+ "ai",
24
+ "typescript"
25
+ ],
26
+ "main": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "browser": {
31
+ "types": "./dist/index-browser.d.ts",
32
+ "import": "./dist/index-browser.js"
33
+ },
34
+ "import": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.js"
37
+ }
38
+ }
39
+ },
40
+ "files": [
41
+ "dist",
42
+ "src"
43
+ ],
44
+ "scripts": {
45
+ "build": "tsup",
46
+ "lint": "eslint .",
47
+ "format": "eslint . --fix",
48
+ "test": "pnpm run type-check && pnpm run lint && vitest run",
49
+ "type-check": "tsc --noEmit",
50
+ "test:watch": "vitest",
51
+ "test:coverage": "vitest run --coverage",
52
+ "clean": "rm -rf dist coverage",
53
+ "prepublishOnly": "pnpm run clean && pnpm test && pnpm run build",
54
+ "optimize": "tsx scripts/optimize-all.ts",
55
+ "benchmark": "tsx scripts/benchmark.ts",
56
+ "fight-trace": "tsx scripts/fight-trace.ts",
57
+ "scorecard": "tsx scripts/bot-scorecard.ts",
58
+ "tournament": "tsx scripts/tournament.ts"
59
+ },
60
+ "devDependencies": {
61
+ "@stylistic/eslint-plugin": "^5.7.1",
62
+ "@types/node": "^25.3.0",
63
+ "eslint": "^9.39.2",
64
+ "eslint-plugin-jsonc": "^2.21.0",
65
+ "firebase": "^12.11.0",
66
+ "firebase-admin": "^13.7.0",
67
+ "jsdom": "^27.4.0",
68
+ "jsonc-eslint-parser": "^2.4.2",
69
+ "tsup": "^8.5.1",
70
+ "typescript": "^5.9.3",
71
+ "typescript-eslint": "^8.53.1",
72
+ "vitest": "^4.0.18"
73
+ },
74
+ "dependencies": {
75
+ "@lowentry/utils": "^2.0.9",
76
+ "esbuild": "^0.27.3",
77
+ "isolated-vm": "^6.0.2",
78
+ "openskill": "^4.1.1"
79
+ }
80
+ }