Fixed a few bugs. Now, creating a new Game instance succeeds.