GitHunt
S3

s373r/course-rustrogueliketutorial

๐Ÿฆ€ "Roguelike Tutorial in Rust - using RLTK" course materials

Course: Roguelike Tutorial - in Rust

Course link: https://github.com/amethyst/rustrogueliketutorial

Status: ๐Ÿšง

Preparations

  1. Install WASM-related components
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
  1. [Optional] Install system dependencies for native target: cmake, c++, fontconfig
# For Fedora
sudo dnf install cmake g++ fontconfig-devel
  1. [Optional] Install simple-http-server for file serving
cargo install simple-http-server

Run

Native

cargo run

Web

Build

cargo build --release --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/release/*wasm --out-dir wasm --no-modules --no-typescript

Serve

simple-http-server -- wasm

... or use Python for serving

python3 -m http.server -d wasm

Open http://0.0.0.0:8000/

Index legend

  • ๐Ÿ“ - a link to a book page
  • โœ๏ธ - a link to an .rs file (code)
  • ๐Ÿ‘ท - a page under construction in the course
  • ๐Ÿšง - not finished

Index

Notes

Comments

  • Some of my thoughts are prefixed with NOTE(DP):
    • Example: // NOTE(DP): Algorithm complexity: O(n)
  • Resolved course TODOs are prefixed with DONE:
    • Example: // NOTE(DP): ^ Uncomment the above 2 lines to see the compiler error
  • Other comments copied from the course

Code conduction

This project uses Gitmoji for commit messages

License

GPLv3+

Languages

Rust99.3%GLSL0.7%

Contributors

GNU General Public License v3.0
Created January 2, 2023
Updated February 2, 2023