Learn by example

In this section you'll learn how to use shipyard by building a small game.

Dependencies

We'll only use two dependencies, let's add them to Cargo.toml.

macroquad = "0.4.8"
shipyard = { git = "https://github.com/leudz/shipyard", default-features = false, features = [
    "proc",
    "std",
] }