corrects threefold check in Game and adds a test for it
adds history option to Game to allow passing in a history to initialise with