@pikehub/warpass-bot 0.0.0-stage → 62.0.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.
- package/AGENTS.md +37 -0
- package/CHANGELOG.md +3 -0
- package/LICENSE +21 -0
- package/README.md +59 -2
- package/docs/AGENTS.md +37 -0
- package/docs/README.md +60 -0
- package/docs/api/act.md +30 -0
- package/docs/api/custom.md +57 -0
- package/docs/api/events.md +34 -0
- package/docs/api/game.md +26 -0
- package/docs/api/local.md +45 -0
- package/docs/api/online.md +37 -0
- package/docs/api/replay.md +28 -0
- package/docs/api/rules.md +31 -0
- package/docs/api/view.md +44 -0
- package/docs/concepts/limits.md +10 -0
- package/docs/concepts/players.md +14 -0
- package/docs/concepts/time.md +12 -0
- package/docs/concepts/versioning.md +15 -0
- package/docs/concepts/view.md +25 -0
- package/docs/errors.md +28 -0
- package/docs/guides/drills.md +28 -0
- package/docs/guides/economy.md +36 -0
- package/docs/guides/llm.md +33 -0
- package/docs/guides/testing.md +22 -0
- package/docs/llms-full.txt +842 -0
- package/docs/llms.txt +41 -0
- package/docs/quickstart.md +77 -0
- package/docs/rules/index.md +45 -0
- package/docs/rules/orcs.md +54 -0
- package/docs/rules/templars.md +84 -0
- package/docs/rules/witches.md +78 -0
- package/docs/rules.json +4338 -0
- package/index.js +483 -0
- package/llms-full.txt +842 -0
- package/llms.txt +41 -0
- package/package.json +29 -4
package/llms.txt
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Warpass bot SDK
|
|
2
|
+
|
|
3
|
+
> Play Warpass (a real-time strategy game) from code: online ranked matches as a bot account, local games against the built-in AI, custom staged games and replays. Node.js and Python bindings over the native engine.
|
|
4
|
+
|
|
5
|
+
## Start
|
|
6
|
+
|
|
7
|
+
- [README](README.md): what the SDK is, install, a first bot
|
|
8
|
+
- [AGENTS](AGENTS.md): the think loop, invariants and pitfalls for coding agents
|
|
9
|
+
- [Quickstart](quickstart.md): bot account and key, local game, online match
|
|
10
|
+
|
|
11
|
+
## Concepts
|
|
12
|
+
|
|
13
|
+
- [Time and turns](concepts/time.md): ticks, turns, think scheduling, when orders land
|
|
14
|
+
- [Seeing the game](concepts/view.md): fog of war, entity ids, coordinates
|
|
15
|
+
- [Players](concepts/players.md): Bot, Ai, Idle and the remote opponent
|
|
16
|
+
- [Versioning](concepts/versioning.md): engine versions, OutdatedEngine, upgrades
|
|
17
|
+
- [Limits](concepts/limits.md): order rate, payloads, fair play
|
|
18
|
+
|
|
19
|
+
## API
|
|
20
|
+
|
|
21
|
+
- [Online](api/online.md): Warpass.connect, queue, Offer, OnlineMatch, results
|
|
22
|
+
- [Local play](api/local.md): Match, Bot, Ai, Idle, play, playMany, GameResult
|
|
23
|
+
- [View](api/view.md): every field a bot sees
|
|
24
|
+
- [Game queries](api/game.md): canTrain, findPlacement, nearestResource and the rest
|
|
25
|
+
- [Orders](api/act.md): every order and its arguments
|
|
26
|
+
- [Events](api/events.md): what a bot hears between thinks
|
|
27
|
+
- [Custom games](api/custom.md): setup ops, stepping, observer view
|
|
28
|
+
- [Replays](api/replay.md): save, load, verify, analyse
|
|
29
|
+
- [Rules and docs](api/rules.md): rules(), docs(), constants
|
|
30
|
+
|
|
31
|
+
## Guides
|
|
32
|
+
|
|
33
|
+
- [An economy bot](guides/economy.md): workers, housing, a production loop
|
|
34
|
+
- [Testing a bot](guides/testing.md): playMany over seeds, comparing versions
|
|
35
|
+
- [Drills with custom games](guides/drills.md): staged fights and timing
|
|
36
|
+
- [LLM strategists](guides/llm.md): a slow planner over a fast scripted bot
|
|
37
|
+
|
|
38
|
+
## Reference
|
|
39
|
+
|
|
40
|
+
- [Errors](errors.md): every error kind and what to do
|
|
41
|
+
- [Rules](rules/index.md): units of measure, terrain ids and one page per race
|
package/package.json
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikehub/warpass-bot",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "62.0.1",
|
|
4
|
+
"description": "Play Warpass from code: online matches, local games, custom games and replays",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"index.js",
|
|
12
|
+
"docs",
|
|
13
|
+
"README.md",
|
|
14
|
+
"AGENTS.md",
|
|
15
|
+
"llms.txt",
|
|
16
|
+
"llms-full.txt",
|
|
17
|
+
"CHANGELOG.md",
|
|
18
|
+
"*.node"
|
|
19
|
+
],
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=20"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"optionalDependencies": {
|
|
25
|
+
"@pikehub/warpass-bot-linux-x64-gnu": "62.0.1",
|
|
26
|
+
"@pikehub/warpass-bot-linux-arm64-gnu": "62.0.1"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
}
|
|
31
|
+
}
|