Sure, here's an example of a simple visual aeroplane game implemented as a single HTML file with JavaScript. You can run this code directly in your web browser by saving it as an HTML file and opening it.
Aeroplane Game
This game allows you to control a blue plane using your mouse on the game board. You can move the plane horizontally and shoot bullets by clicking on the game board. Your goal is to shoot down the red enemy planes by colliding your bullets with them. The score is displayed on the page and increases whenever you successfully hit an enemy plane.
Note: This is a simple demonstration and can be expanded upon with additional features and improvements.