You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
487 B
Markdown
14 lines
487 B
Markdown
# Examples
|
|
|
|
As mentioned in the top level README, examples are used to exercise a specific feature or mechanic.
|
|
These are often used to isolate a problem and figure out a good solution before integrating it into a bigger game.
|
|
These are also almost always single file programs so you will see a bunch of `*.rs` files in this folder, each is a different example, not a module in one big example.
|
|
|
|
## Running examples
|
|
|
|
Something like this:
|
|
|
|
```
|
|
$ cargo run --example example-name-here
|
|
```
|