Consider the binary field $\mathbb{F}_2$ and then consider $n$ direct products of this: $\mathbb{F}_2 \times \mathbb{F}_2 \times \cdots \times \mathbb{F}_{2}$.
Hence, $\mathbb{F}_{2}^{n} = {\{x = (x_1,\ldots,x_n) : x_i \in \mathbb{F}_{2}}\}$, so it's just the set of vectors with entries $0$ and $1$.
Define $x \cdot y = x_1 y_1 + \ldots + x_n y_n$.
Now, let $y \in \mathbb{F}_{2}^{n}$.
I am trying to find out what the following sum is: $$\sum_{x \in \mathbb{F}_{2}^{n}} (-1)^{x \cdot y}.$$
When $y$ is the zero vector, the sum is equal to $2^n$ clearly. But, what about an arbitrary vector $y \in \mathbb{F}_{2}^{n}$?
Hint: Let $y\neq 0$ have a non-zero entry at index $k$. Now divide $\Bbb F_2^n$ into pairs of vectors which only differ at index $k$.