A simple Space Invaders clone implemented in Rust using WebAssembly and WebGL https://invaders.thetek.de/
Go to file
thetek 635d250d71 feat: add version information 2023-06-22 10:42:03 +02:00
src feat: hacky success, failure and welcome screens 2023-06-22 10:38:49 +02:00
www feat: add version information 2023-06-22 10:42:03 +02:00
.gitignore init 2023-05-20 18:33:46 +02:00
Cargo.toml feat: add version information 2023-06-22 10:42:03 +02:00
LICENSE init 2023-05-20 18:33:46 +02:00
README.md chore: add readme 2023-06-21 20:41:18 +02:00

README.md

Invaders

A simple Space Invaders clone written using Rust, WebAssembly and WebGL for a university project.

Requirements

  • Standard Rust toolchain (rustc and cargo)
  • wasm-pack
  • NodeJS and npm

Building and Running

Initial setup:

$ wasm-pack build
$ cd www
$ npm install

Compile WebAssembly:

$ wasm-pack build

Run the dev server:

$ cd www
$ npm run start

Run the production server:

$ cd www
$ npm run build
$ npm run prod