@vibemancer/core 0.1.0 → 0.1.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 (50) hide show
  1. package/README.md +28 -28
  2. package/dist/{chunk-L7Z7OFXD.js → chunk-7VDJHO22.js} +3 -3
  3. package/dist/chunk-7VDJHO22.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
package/README.md CHANGED
@@ -1,28 +1,28 @@
1
- # @vibemancer/core
2
-
3
- Game engine and bot API for [Vibemancer](https://vibemancer.com) — a competitive programming game where you write TypeScript wizard bots that fight 1v1 in an 800x800 arena.
4
-
5
- ## For bot authors
6
-
7
- This package provides the hooks and action builders your bot imports:
8
-
9
- ```ts
10
- import { usePosition, useEnemy, useThreats, move, missile, shield, blink } from '@vibemancer/core';
11
- ```
12
-
13
- You don't install this directly — `npm create vibemancer@latest my-wizard` sets up a project with it pre-configured.
14
-
15
- ## Getting started
16
-
17
- See the full walkthrough at [vibemancer.com](https://vibemancer.com) (Build a Bot tab).
18
-
19
- ```bash
20
- npm create vibemancer@latest my-wizard
21
- cd my-wizard
22
- npm install
23
- npm run dev
24
- ```
25
-
26
- ## License
27
-
28
- MIT
1
+ # @vibemancer/core
2
+
3
+ Game engine and bot API for [Vibemancer](https://vibemancer.com) — a competitive programming game where you write TypeScript wizard bots that fight 1v1 in an 800x800 arena.
4
+
5
+ ## For bot authors
6
+
7
+ This package provides the hooks and action builders your bot imports:
8
+
9
+ ```ts
10
+ import { usePosition, useEnemy, useThreats, move, missile, shield, blink } from '@vibemancer/core';
11
+ ```
12
+
13
+ You don't install this directly — `npm create vibemancer@latest my-wizard` sets up a project with it pre-configured.
14
+
15
+ ## Getting started
16
+
17
+ See the full walkthrough at [vibemancer.com](https://vibemancer.com) (Build a Bot tab).
18
+
19
+ ```bash
20
+ npm create vibemancer@latest my-wizard
21
+ cd my-wizard
22
+ npm install
23
+ npm run dev
24
+ ```
25
+
26
+ ## License
27
+
28
+ MIT
@@ -97,7 +97,7 @@ function calculateBlinkCooldown(distance) {
97
97
  var ARENA_WATER_BUFFER = 200;
98
98
 
99
99
  // src/engine-version.ts
100
- var ENGINE_VERSION = 1777556890699;
100
+ var ENGINE_VERSION = 1777570524251;
101
101
 
102
102
  // src/engine/physics.ts
103
103
  function moveWizard(wizard, move2, deltaTicks) {
@@ -1452,7 +1452,7 @@ function fitMissileToBudget(budgetTicks, distance, options) {
1452
1452
  }
1453
1453
 
1454
1454
  // src/bots/standalone/TargetDummy.ts
1455
- var TargetDummy = () => {
1455
+ var TargetDummy = (_props) => {
1456
1456
  return {
1457
1457
  move: { x: 0, y: 0 }
1458
1458
  };
@@ -9137,4 +9137,4 @@ export {
9137
9137
  diagnoseTrace,
9138
9138
  formatDiagnosis
9139
9139
  };
9140
- //# sourceMappingURL=chunk-L7Z7OFXD.js.map
9140
+ //# sourceMappingURL=chunk-7VDJHO22.js.map