RADZION

Blog

Realize ambition

Snake Game With Rust, JavaScript, and WebAssembly

Source Code

Check It Out

On Udemy

main

In this course, we will build a Snake Game with Rust, JavaScript, and WebAssembly. We will learn how to export API implemented with Rust to JavaScript app. We will get to know canvas rendering, applications of vectors, and basics of game development.

Table of Content

1. Game Architecture

2. Creating Game Instance

3. Rendering the Game

4. Placing the Food

5. Game Loop

6. Moving the Snake

7. Eating Food

8. Game Over