Sure! Here is a code snippet for the game you described:
You can save the above code in a single HTML file and open it in a web browser to play the game. The game runs on touch input, so you can test it using a smartphone or a touch-enabled device. Simply touch the right side of the screen to move the nuke to the right, and touch the left side of the screen to move the nuke to the left. The nuke will always be falling, and your goal is to avoid the airplanes and reach the power plant at the bottom of the screen. If you touch a plane, you lose, and if you reach the power plant, a mushroom cloud will appear, indicating that you win.