Two grade seven students were allowed to enter a chess tournament otherwise composed of grade eight students. Each contestant played once with each other contestant and received one point for a win, one half point for a tie and zero for a loss. The two grade seven students together gained a total of eight points and each grade eight student scored the same number of points as his classmates. How many students for grade eight participated in the chess tournament? Is the solution unique?
1. Let \( n \) be the number of grade eight students, and let \( k \) be the number of points each grade eight student scored. Each contestant plays once with every other contestant, so the total number of games played is given by the combination formula:
   \[
   \binom{n+2}{2} = \frac{(n+2)(n+1)}{2}
   \]
   This is because there are \( n+2 \) students in total (including the two grade seven students).

2. The total number of points distributed in the tournament is equal to the total number of games played, since each game results in one point being distributed (either as 1 point to the winner, or 0.5 points to each player in case of a tie). Therefore, the total number of points is:
   \[
   \frac{(n+2)(n+1)}{2}
   \]

3. The two grade seven students together scored 8 points. Therefore, the total points scored by the grade eight students is:
   \[
   \frac{(n+2)(n+1)}{2} - 8
   \]

4. Since each grade eight student scored \( k \) points, the total points scored by all grade eight students is also \( kn \). Equating the two expressions for the total points scored by the grade eight students, we get:
   \[
   kn = \frac{(n+2)(n+1)}{2} - 8
   \]

5. Simplifying the equation:
   \[
   kn = \frac{n^2 + 3n + 2}{2} - 8
   \]
   \[
   kn = \frac{n^2 + 3n + 2 - 16}{2}
   \]
   \[
   kn = \frac{n^2 + 3n - 14}{2}
   \]

6. Multiplying both sides by 2 to clear the fraction:
   \[
   2kn = n^2 + 3n - 14
   \]
   Rearranging the equation:
   \[
   n^2 - 2kn + 3n - 14 = 0
   \]

7. This is a quadratic equation in \( n \):
   \[
   n^2 + (3 - 2k)n - 14 = 0
   \]

8. For \( n \) to be an integer, the discriminant of this quadratic equation must be a perfect square. The discriminant \( \Delta \) is given by:
   \[
   \Delta = (3 - 2k)^2 + 4 \cdot 14
   \]
   \[
   \Delta = (3 - 2k)^2 + 56
   \]

9. We need \( \Delta \) to be a perfect square. Let's test the possible values of \( n \) that are divisors of 14 (since the quadratic equation must have integer solutions):
   - \( n = 1 \) or \( n = 2 \) results in negative \( k \), which is not possible.
   - \( n = 7 \):
     \[
     7^2 + (3 - 2k)7 - 14 = 0
     \]
     \[
     49 + 21 - 14 = 2k \cdot 7
     \]
     \[
     56 = 14k
     \]
     \[
     k = 4
     \]
     This is a valid solution.
   - \( n = 14 \):
     \[
     14^2 + (3 - 2k)14 - 14 = 0
     \]
     \[
     196 + 42 - 14 = 2k \cdot 14
     \]
     \[
     224 = 28k
     \]
     \[
     k = 8
     \]
     This is also a valid solution.

Therefore, the number of grade eight students \( n \) can be either 7 or 14, and the solution is not unique.

The final answer is \( \boxed{ n = 7 } \) or \( n = 14 \)