This is the first book in the Johnny Maxwell trilogy.
Johnny is a young boy playing a video game about shooting space aliens. He suddenly finds the aliens are trying to communicate with him. They want to surrender.
If you like Terry Pratchett, you will like this book. Its written you a younger reader, but is full of fun and laughter that will engage the adult reader.