Browse Source

Update README.md

new_protocol
ThePerkinrex 5 years ago
committed by GitHub
parent
commit
8f786b48fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

4
README.md

@ -46,7 +46,7 @@ In this file, firstly, the name of the game, the version and the authors are spe
Then we have the script, in this case `game.rhai`:
```rs
```rust
// setup(data) -> data
fn setup(data) { // Required
print("Setting up UNO for " + data.players + " players");
@ -110,4 +110,4 @@ See for example the `shuffle` function, which is provided by the environment.
Go to the [rhai book](https://schungx.github.io/rhai/language/index.html) for the language reference.
### Common errors:
* When taking more cards than are available from a pile, `()` (null or undefined) is returned
* When taking more cards than are available from a pile, `()` (null or undefined) is returned

Loading…
Cancel
Save