Make a 3D pirate ship battle game in one web page: you captain a sailing ship on a stormy open ocean with rolling waves, rain, lightning and distant islands. Left and right arrow keys or A and D to steer, up arrow or W to raise the sails, Q and E to fire the port and starboard cannons. Enemy ships hunt you and fire back; cannonballs splash, wood splinters, masts fall and ships sink. The ship should ride the waves with real buoyancy. Add a HUD with hull health, cannon reload and a compass, plus victory and sunk screens. Make it look as cinematic as you can. It should feel fun the moment it loads.