The position of two fish in a tank are tracked. The tank is divided into a grid and the position of the fish in the grid determines the input into the game.
The description is further down the page. The top-middle sector of the tank activates the jump button for example. If both fish are in that sector, then the two characters will do nothing but jump on the spot until either fish moves elsewhere.