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`
- 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