invaders/README.md

601 B

Invaders

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

The game can be played here.

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