@vimp-games/tanks 0.1.0

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/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # VIMP Tanks
2
+
3
+ A team-based tank deathmatch — the reference game plugin for the
4
+ [VIMP engine](https://github.com/lgick/vimp-engine).
5
+
6
+ - **Game rules**: two teams, hitscan bullets and bombs, bots, votes, chat, statistics.
7
+ - **Rust core**: tank/weapon/bot simulation compiled to WASM, running on the engine's browser host and every client (physics via `rapier2d`, shared with the engine's `vimp-engine-core` crate).
8
+ - **Client**: PixiJS rendering parts, procedural textures, spatial audio — plugged into the engine's MVC/render framework.
9
+ - **Packaged as a plugin**: published as `@vimp/tanks` (npm) with a `dist/manifest.json`, loaded dynamically at runtime by any engine instance — never a build-time dependency of the engine.
10
+
11
+ ## Quick start
12
+
13
+ ```bash
14
+ git clone https://github.com/lgick/vimp-tanks.git
15
+ cd vimp-tanks
16
+ npm install
17
+ npm run core:build # WASM core (needs the Rust toolchain: rustup + wasm-pack)
18
+ npm run build # full plugin bundle → dist/
19
+ ```
20
+
21
+ To actually play a match, this plugin needs to be linked into a running
22
+ [vimp-engine](https://github.com/lgick/vimp-engine) checkout — see
23
+ [docs/en/getting-started.md](docs/en/getting-started.md).
24
+
25
+ ## Documentation
26
+
27
+ Full documentation lives in [docs/en/](docs/en/README.md):
28
+
29
+ - [Local setup](docs/en/getting-started.md)
30
+ - [Architecture](docs/en/architecture.md)
31
+ - [Gameplay](docs/en/gameplay.md)
32
+ - [Rust core](docs/en/core.md)
33
+ - [Configuration](docs/en/configuration.md)
34
+ - [Extending the game (maps, weapons, sounds)](docs/en/extending.md)
35
+
36
+ [Русская версия](docs/ru/README.md)
37
+
38
+ For engine-side concepts (transport, master server, plugin contract), see
39
+ the engine's own docs: [vimp-engine/docs/en/](https://github.com/lgick/vimp-engine/blob/main/docs/en/README.md).