Pilot the submarine along the vertical number line. Up/Down (or W/S or the d-pad) moves above and below sea level. Space confirms when you reach the target integer; Enter reads out your depth and its absolute value. Find opposites, compare and order integers, and use absolute value as distance from the surface.
Please use an up-to-date browser with WebGL and an internet connection (the 3D library loads from a CDN).