Since a covalent bond is formed by sharing electron pairs, the attraction is between positive nuclei and the shared electron pairs. The number of bonds depends on the number of valence electrons of the atom.
In a video game, a flying coconut moves at a constant velocity of 20 meters/second. The coconut hits an obstacle and moves in the opposite direction with a constant velocity of 10 meters/second.