Designed a computer player using Depth First Search for an "asteroids" game, strategically maneuvering a ship in a 2D matrix to avoid collisions with moving asteroids. Implemented a function to determine the ship's optimal actions based on asteroid and ship positions, achieving prolonged gameplay and high scores.
-
Updated
Aug 12, 2023 - C