A simple Space Invaders clone implemented in Rust using WebAssembly and WebGL https://invaders.thetek.de/
Go to file
thetek cc7ce92253 chore: add game link to readme 2023-06-29 10:06:50 +02:00
src doc: add comments 2023-06-24 17:12:41 +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 game link to readme 2023-06-29 10:06:50 +02:00

README.md

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