Practicing Rust, Learning Bevy, Creating a WASM Snake Game for the Browser

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. bevy-snake

    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).

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. glicol-wgpu

    A wgpu-based code editor for Glicol programming language, offering cross-platform functionality for desktop and web browsers, powered by WebGPU.

    Nice.

    Speaking of Snake game, if you want to go even deeper, you can try to use the wgpu crate to combine Rust and WebGPU to write everything from scratch. Here is the tutorial:

    https://sotrh.github.io/learn-wgpu/#what-is-wgpu

    I once wrote a code editor with wgpu, from font rendering to char/line state management (very rough) for music live coding:

    https://github.com/glicol/glicol-wgpu

    It runs in browsers, even including Safari!

  4. learn-wgpu

    Guide for using gfx-rs's wgpu library.

    Nice.

    Speaking of Snake game, if you want to go even deeper, you can try to use the wgpu crate to combine Rust and WebGPU to write everything from scratch. Here is the tutorial:

    https://sotrh.github.io/learn-wgpu/#what-is-wgpu

    I once wrote a code editor with wgpu, from font rendering to char/line state management (very rough) for music live coding:

    https://github.com/glicol/glicol-wgpu

    It runs in browsers, even including Safari!

  5. starter-snake-python

    Get started with Battlesnake and Python

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Battlesnake Challenge

    2 projects | dev.to | 15 May 2024
  • Ask HN: How can I run untrusted Python code?

    2 projects | news.ycombinator.com | 10 Jan 2024
  • Última clase de programación

    1 project | /r/programacion | 30 May 2023
  • Battlesnake – Multiplayer Coding Game

    1 project | news.ycombinator.com | 16 Apr 2023
  • Games For Java Coding

    1 project | /r/java | 3 Mar 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?