{"by":"bebrws","descendants":11,"id":39433104,"kids":[39434605,39434384,39435875,39433105],"score":44,"text":"Code is here:\n<a href=\"https:&#x2F;&#x2F;github.com&#x2F;bebrws&#x2F;bevy-snake\">https:&#x2F;&#x2F;github.com&#x2F;bebrws&#x2F;bevy-snake</a><p>I had a lot of fun practicing Rust and Learning some Bevy concepts with this repository.<p>Bevy has an incredibly powerful dependency injection system and follows a pattern called ECS which makes it very powerful (and new to me).<p>This simple &lt; 300 lines of code might help with learning some Bevy concepts.<p>It also shows how to copmile for the web&#x2F;WASM and inject a canvas for the game (or use a pre existing div).","time":1708367692,"title":"Show HN: Creating a Snake game clone with Rust/Bevy","type":"story","url":"https://bbarrows.com/posts/bevy-snake"}