forked from StrafesNET/roblox-bot-player
40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
This respository uses git lfs for large file storage. You will need to run `git lfs pull` after cloning.
|
|
|
|
How to build the wasm module:
|
|
```
|
|
cd wasm-module
|
|
wasm-pack build --target web --out-dir ../web-demo/pkg
|
|
```
|
|
|
|
How to serve the web demo (requires wasm module):
|
|
```
|
|
cd web-demo
|
|
python3 -m http.server
|
|
```
|
|
|
|
How to run the native player:
|
|
```
|
|
cd native-player
|
|
cargo run --release -- ../web-demo/bhop_marble_5692093612.snfm ../web-demo/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d.qbot
|
|
```
|
|
You can drag and drop map files and bot files to load them.
|
|
|
|
#### License
|
|
|
|
This code depends on a proprietary module, [strafesnet_graphics](https://git.itzana.me/StrafesNET/strafe-project/src/branch/master/engine/graphics). The resulting binary is
|
|
not redistributable without the express permission of Rhys Lloyd. The code in this repository
|
|
is MIT & Apache 2.0 dual licensed, and is free to use.
|
|
|
|
<sup>
|
|
Licensed under either of <a href="LICENSE-APACHE">Apache License, Version
|
|
2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option.
|
|
</sup>
|
|
|
|
<br>
|
|
|
|
<sub>
|
|
Unless you explicitly state otherwise, any contribution intentionally submitted
|
|
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
|
|
be dual licensed as above, without any additional terms or conditions.
|
|
</sub>
|