diff --git a/README.md b/README.md index 532b353..61936b9 100644 --- a/README.md +++ b/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, that happens for example when too many people try to play a game where a specific number of cards from a deck are give to each player, and there are too many players for the amount of cards in the deck \ No newline at end of file +* When taking more cards than are available from a pile, `()` (null or undefined) is returned, that happens for example when too many people try to play a game where a specific number of cards from a deck are give to each player, and there are too many players for the amount of cards in the deck