A remake of the old arcade game Depth Charge from Gremlin, released in 1977.
The subs aim at the player boat to force the player to move the ship. Every time a new sub is spawned a sonar ping is played. A torpedo warning is played if a sub will fire a fast torpedo instead of a bomb.
On my page I go thru some of the code: https://soltveit.org/unity-depth-charges/