Cr

Creating a Snake game clone with Rust/Bevy

Hacker News

Creating a Snake game clone with Rust/Bevy

Code is here: https://github.com/bebrws/bevy-snake I had a lot of fun practicing Rust and Learning some Bevy concepts with this repository. Bevy has an incredibly powerful dependency injection system and follows a pattern called ECS which makes it very powerful (and new to me). This simple < 300 lines of code might help with learning some Bevy concepts. It also shows how to copmile for the web/WASM and inject a canvas for the game (or use a pre existing div).

Share card

Actual performance

44points
11comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
AppSumoStrong fit for a featured deal · Missing: plus, platform, intuitive
62%62% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, io · Missing: https docs, excited, just released
58%58% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
51%51% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
44%44% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: new, code · Missing: mac, agents, macos
42%42% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Pl
Please, a Sudo Clone in Rust48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Please, a Sudo Clone in Rust

Hacker News1
Ht
Ht – HTTPie Clone in Rust48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ht – HTTPie Clone in Rust

Hacker News251
Mk
Mkii – An Expirimental Redis Clone Built with Rust and Tokio55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mkii – An Expirimental Redis Clone Built with Rust and Tokio

Hacker News4
A
A sokoban clone game with "infinity" levels35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A sokoban clone game with "infinity" levels

Hacker News13
We
WebGL 'Falling Sand/Powder Toy' game clone62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WebGL 'Falling Sand/Powder Toy' game clone

Hacker News2
I
I made an HTML5 game (not anoter 2048 clone)53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made an HTML5 game (not anoter 2048 clone)

Hacker News1
Ru
Rudo – A toy sudo clone written in Rust66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rudo – A toy sudo clone written in Rust

Hacker News3
As
Asdf Clone Written in Rust61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Asdf Clone Written in Rust

Hacker News79
Te
Terminal 2048 – 2048 game terminal clone written in Rust62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Terminal 2048 – 2048 game terminal clone written in Rust

Hacker News2
A
A Tcl/TK Clone of the Rust Clone of Microsoft Edit55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Tcl/TK Clone of the Rust Clone of Microsoft Edit

Hacker News4