"The Last Starfighter" is a 1984 film directed by Nick Castle("The Boy Who Could Fly"). It stars Lance Guest as Alex Rogan, a young guy living with his mother and little brother in a trailer park. Alex scores the highest points on a video game called Starfighter. Little did Alex know that the game was a test to find "the one" and to help the planet and it's people depicted in the game in real life against a nasty enemy named Xur. Catherine Mary Stewart("Weekend At Bernie's") and film legend Robert Preston("The Music Man") co-star.
This is a fun movie. You can see some vintage early Spielberg in some of the trailer park scenes, and can definitley sense some Star Wars in the outer space moments. It's just one of those 80s feel good sci-fi/fantasy movies. The movie was also one of the first, among with Disney's "Tron", to use CGI.
The trailer: