Sure! Here's a simple implementation of the game you described, using JavaScript and HTML within a single HTML file:
You can copy and paste the code into a text file and save it with a .html extension, then run it in any modern web browser. The game sets up a canvas where you control a red rectangle representing a falling nuke. Use the arrow keys on your smartphone to move the nuke and avoid the black planes to reach the green power plant. Your score will be displayed at the top-left corner, and the game will be over if you collide with a plane or reach the power plant.
Note: This implementation is a simple example to get you started and may require further improvements, enhancements, and optimizations based on your specific requirements.