I am trying to solve this question:
Compute the homology groups of the $\Delta$-complex $X$ obtained from $\Delta^n$ by identifying all faces of the same dimension. Thus $X$ has a single $k$-simplex for each $k \leq n.$
And I found the following solution online:
But I do not understand the difference between the identification in the odd case and i the even case which leads to that if $n$ is odd the simplicial homology is $\mathbb Z,$ while if $n$ is even it is $0,$ could someone explain this to me please?
I read here The space $\Delta^n$ with all faces of the same dimension. but I could not understand the case $\Delta^1,$ why we identify $v_1$ by $- v_2$(maybe this is the reason for the difference between simplicial homology in the even and odd dimension)? Could anyone explain this to me please?
Thanks in advance!

Briefly, you are identifying $v_1$ with $v_2$, no signs involved. The signs are instead built into the formula for the boundary map. (See Hatcher, p. 105, for example.)
In more detail, as long as $k \leq n$, the boundary map $C_k \to C_{k-1}$ has the form $\mathbb{Z} \to \mathbb{Z}$, since there is one $k$-simplex and one $(k-1)$-simplex, and the issue is identifying that map. The boundary map applied to a $k$-simplex is the alternating sum of its faces — the signs are built into the formula for the boundary map. Let's write $\sigma_m$ for the unique $m$-simplex for each $m$, and write $[\sigma_m]$ for the corresponding element of the chain group. Then the boundary map $C_k \to C_{k-1}$ will be $$ [\sigma_k] \mapsto \sum_{i=0}^k (-1)^i [\sigma_{k-1}] = \left(\sum_{i=0}^k (-1)^i \right) [\sigma_{k-1}]. $$ Now evaluate the sum in parentheses: it's either zero or 1 depending on the parity of $k$, so the whole thing is either $[\sigma_{k-1}]$ if $k$ is even, $0$ if $k$ is odd.