Corrected test algorithms in Game class constructor.

The previous boundaries test algorithm was wrong. It has been replaced.