I'm a computer student, learning math just for fun. Today I was graphing for fun that I found something strange! I noticed that that wired function ${x^{x^{\cdot^{\cdot^{x}}}}}$ in zero, seems to converge to 1 when there are even powers and to 0 when there are odd powers! Then I attempt to prove it but I failed.
Then I did a little research and I found the Tetration article on Wikipedia. This article says that my guess was right but without any proof. So I'm here to ask you about it.
If we define ${x^{x^{\cdot^{\cdot^{x}}}}}$ as ${^{n}x} :=\begin{cases} 1 &\text{if }n=0 \\ x^{\left(^{(n-1)}x\right)} &\text{if }n>0 \end{cases}$
then prove:
$$\lim_{x\rightarrow0} {}^{n}x = \begin{cases} 1, & n \text{ even} \\ 0, & n \text{ odd} \end{cases}$$

As mentioned in the comments, you want to approach this by induction. What is missing in to show that as $x\to 0^+, 1^-$, then $x^x$ approaches $1$ from below.
Step 1: $$\begin{align}\lim_{x\to 0}x^x&=\lim_{x\to 0}e^{x\ln x}\\&=e^{\lim_{x\to 0}x\ln x}\\&=\exp\left({\lim_{x\to 0}\frac{\ln x}{1/x}}\right)\\&=\exp\left(\lim_{x\to 0}\frac{1/x}{-1/x^2}\right)\\&=e^0\\&=1 \end{align}$$
Step 2: $$\begin{align}\frac d{dx}x^x&=\frac d{dx}e^{x\ln x}\\&=e^{x\ln x}\frac d{dx}(x \ln x)\\&=x^x(\ln x+1) \end{align}$$
Step 3:
Using step 1 above, the limit of the derivative of $x^x$ when $x\to 0^+$ is $-\infty$. But the only thing we care is that it is negative
Step 4:
If $1/e<x$ then the derivative of $x^x$ will be positive. At $x=1$, $x^x=1$, so for $x$ slightly less than $1$, $x^x$ is increasing towards $1$.