Skip to content

flightcrank/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

ASTEROIDS

This is a recreation of the classic asteroids video game. Implemented in the C programming language, using SDL 2 library to display graphics on the screen.

To compile you need to have SDL 2 installed on your system and the header files available to you operating systems PATH environment variable

gcc -o app main.c vector.c player.c asteroids.c renderer.c -Wall -g -lm `sdl2-config --cflags --libs`

Controls

  • left arrow to rotate left
  • right arrow to rotate right
  • up arrow to apply thrust in the direction you are pointing
  • space to shoot a bullet
  • ESC to exit game

Images

animation

game play

About

The classic asteroids game. Coded in C using SDL for graphics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages