Sure, here's a simplified implementation of the game you described:
Please note that in this example, you need to provide the appropriate image and audio files referenced in the code (`submarine.jpg`, `ship_piece.jpg`, `water_sounds.mp3`, `ship.jpg`). Additionally, you may need to make adjustments to the styling and adjust the timing of the transitions to fit your desired experience.