WebAsteroid

About the Project

WebAsteroid is entirely written in C! It utilizes Emscripten to compile the code into a WebAssembly (Wasm) program. The game leverages OpenGL ES 2.0, enabling GPU-accelerated graphics through WebGL. Additionally, WebAsteroid can be effortlessly transformed into a standalone mobile application if desired.

Score: 0 | Lives: 3

Instructions

  • Move: Use W to go forward and AD to steer the spaceship.
  • Shoot: Press the spacebar to fire bullets at asteroids.
  • Objective: Destroy as many asteroids as possible without losing all lives.