rust-embedded / discovery

Discover the world of microcontrollers through Rust!
https://docs.rust-embedded.org/discovery/
Apache License 2.0
1.47k stars 510 forks source link

adding chapter 11 (snake game) #555

Closed bunburya closed 8 months ago

bunburya commented 8 months ago

Adding a chapter on building a basic snake game, as discussed in #552. Closes #552

bunburya commented 8 months ago

Thank you - happy with your changes of course. CI is failing on cargo doc --features v1 --target thumbv6m-none-eabi, presumably because the Cargo.toml includes microbit-v2 (and not behind a v2 feature flag as the other chapters do). I will try and fix the Cargo.toml so it doesn't fail (though in practice the code in chapter 11 isn't supported for the v1 yet).

I will update the PR when I get a chance (may take a few days)