Add test code #21
Add code to raise an exception if the game is not finished #21
Merge branch 't0021' close #21