/blasteroid

A game written in C

Primary LanguageC

Blasteroid is a shooting game inherited from the classic arcade game Asteroid. It is written in C with the Allegro 5.0 library.

Tutorial & Manual for Allegro 5

The Organization of the code:

  • asteroid.c: main enemies
  • bast.c: a.k.a. bullet
  • spaceship.c: our hero
  • blastroids.c: game core
  • utils.c: some math primitives
  • test_collision.c: used to verify the collison function of the game.