Proof (chain map induces homomorphism of homology groups)
First we check $x\mapsto f_n(x)$ sends $Z_n(C_\bullet)$ to $Z_n(D_\bullet)$. For any $x\in Z_n(C_\bullet)$, since $d_n(x) = 0$, we have $$ \begin{align*} d_n(f_n(x)) = f_{n-1}(d_n(x)) = f_{n-1}(0) = 0. \end{align*} $$
Next we check $x\mapsto f_n(x)$ sends $B_n(C_\bullet)$ to $B_n(D_\bullet)$. For $x\in B_n(C_\bullet)$, find $z\in C_{n+1}$ such that $x = d_{n+1}(z)$. Then $$ \begin{align*} f_n(x) = f_n(d(z)) = d(f_{n+1}(z)) \in B_{n}(D_\bullet). \end{align*} $$
These shows that $x\mapsto f_n(x)$ induces a map $H_n(C_\bullet) = Z_n(C_\bullet) / B_n(C_\bullet) \to Z_n(D_\bullet) / B_n(D_\bullet) = H_n(D_\bullet)$.
If $h_\bullet$ is a chain homotopy from $f_\bullet$ to $g_\bullet$, then for all $x\in Z_n(C_\bullet)$, $$ \begin{align*} g_n(x) - f_n(x) = d_{n+1}(h_n(x)) + h_{n-1}(\underbrace{d_n(x)}_{0}) = d_{n+1}(h_n(x)) \in B_n(D_\bullet). \end{align*} $$ Thus $[g_n(x)] = [f_n(x)]$ in $H_n(D_\bullet)$.
If $f_\bullet\circ g_\bullet\simeq \id_{D_\bullet}$ for some chain map $g_\bullet: D_\bullet\to C_\bullet$, then $f_\ast \circ g_\ast = (f_\bullet \circ g_\bullet)_\ast = (\id_{D_\bullet})_\ast = \id_{H_n(D_\bullet)}$. If in addition $g_\ast \circ f_\bullet\simeq \id_{C_\bullet}$, then $g_\ast \circ f_\ast = \id_{H_n(C_\bullet)}$, so $f_\ast$ is an isomorphism.