A small hobby/ school-project. Inspired by the ATARI Asteroid game, this is an implementation in React/Rust/WebGL/Wasm. Feel free to use the code as you please.
The SPA also includes some other sections but they are nowhere as interesting as the game itself.
React
- Create React App
- Hot reload
- TypeScript/ESlint with very opinionated rules
- SASS support
- WebAssembly support
- Integration with the Rust-Wasm module
- RUST INTEGRATION:
- Compilation on code change straight to WASM with all type definitions
- Rust 2018 edition
- wasm-bindgen for WEB APIs
Container | Service | Host Port | Docker Port |
---|---|---|---|
dev-react | react | 3001 | 3000 |
For the school project I ahd toa dd a lot of useless other packages and functionality, like a backend, a graph database, simple data storing, etc.
All of that has been removed for this static site version. But if you wish to check that out as well -- here's the bloated version.