An implementation of the Mafia/Werewolf party game to be played online.
you will require the following dependencies
- Rust + Cargo
- Node + npm
# Starts the rust backend, uses cargo to fetch and compile directories
cargo run
# Start parcel in watch mode, bundling into the dist directory
npm start
# Builds parcel production version of the web assets & production version of server in docker container
./build_fullDevelopment commands will be located in the top level package.json file and in root level scripts.
Example of info logging, prints to stdout & stderr using https://crates.io/crates/env_logger for logging
RUST_LOG=trace cargo run https://dashboard.heroku.com/apps/duckception
heroku container:login
heroku container:push web
heroku container:release web-
Learning Rust through developing a web server
- borrow checker
- memory management
- meta-programming
-
Multithreaded programming
- Green Thread (Tokio runtime)
- Mutexes
- Atomic read/writes
- Rust Futures + Async Await
-
websocket / stream programming
-
Deeper understanding of web protocols
- HTTP headers
- file caching
- File compressions
- Cookies
- TLS
-
Session based authentication
- "Modern" web app with Vanilla Javascript
- CSS animations
- A bit of SCSS
- Bundling Applications
- tree shaking
- javascript compilers / transpilers / minifiers