C Programming project that gets a ship to avoid asteroids for as long as possible.
Asteroids.mp4
The algorithm initializes the spaceship's position and scans the surrounding area for nearby asteroids. It calculates safe movement directions, prioritizing rows without asteroids and avoiding collisions. Hold down enter button when project is running to watch ship avoid asteroids.
Any C complier of your choice. Personal preference OnlineGDB
Pierce Purcell Completed for a C Programming project.