no more WASM for stinky

This commit is contained in:
abbie 507131 2024-12-30 15:26:25 +00:00
parent bb93bca512
commit 723b2740a8
Signed by: threeoh6000
GPG key ID: 801FE4AD456E922C

View file

@ -1,84 +1,8 @@
<div align="center">
# Garden of Eden
Garden of Eden is a zero-player cellular god game where you watch two rival living species fight for control of the sixteen by sixteen board.
<h1><code>wasm-pack-template</code></h1>
The Tick button allows you to manually step through a tick and allow you to watch the game at your pace, the Clock is OFF/ON button allows you to toggle the clock which will run a tick every 50 milliseconds automatically. When the clock is on, you are unable to change the state of the board manually.
<strong>A template for kick starting a Rust and WebAssembly project using <a href="https://github.com/rustwasm/wasm-pack">wasm-pack</a>.</strong>
The Plot, Plant, Anti-Plant, and Barrier buttons allow you to select which tile you place down when you click on cells. Click on the brown cells on the board to place the tile that you set. To setup a game board, place down barriers how you please or none at all, place down at least one plant and one anti-plant, and watch them fight for control by manually Ticking through or running the clock
<p>
<a href="https://travis-ci.org/rustwasm/wasm-pack-template"><img src="https://img.shields.io/travis/rustwasm/wasm-pack-template.svg?style=flat-square" alt="Build Status" /></a>
</p>
<h3>
<a href="https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html">Tutorial</a>
<span> | </span>
<a href="https://discordapp.com/channels/442252698964721669/443151097398296587">Chat</a>
</h3>
<sub>Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a></sub>
</div>
## About
[**📚 Read this template tutorial! 📚**][template-docs]
This template is designed for compiling Rust libraries into WebAssembly and
publishing the resulting package to NPM.
Be sure to check out [other `wasm-pack` tutorials online][tutorials] for other
templates and usages of `wasm-pack`.
[tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html
[template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html
## 🚴 Usage
### 🐑 Use `cargo generate` to Clone this Template
[Learn more about `cargo generate` here.](https://github.com/ashleygwilliams/cargo-generate)
```
cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project
```
### 🛠️ Build with `wasm-pack build`
```
wasm-pack build
```
### 🔬 Test in Headless Browsers with `wasm-pack test`
```
wasm-pack test --headless --firefox
```
### 🎁 Publish to NPM with `wasm-pack publish`
```
wasm-pack publish
```
## 🔋 Batteries Included
* [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating
between WebAssembly and JavaScript.
* [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook)
for logging panic messages to the developer console.
* `LICENSE-APACHE` and `LICENSE-MIT`: most Rust projects are licensed this way, so these are included for you
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.
If either the plant or anti-plant species has prevailed and you want to run again, turn the clock off and click the Kill Living button which will clear the board of plants and anti-plants, turning them back into plots, leaving your barriers in place. Place an anti-plant and plant and begin again.