Added result class and changed SampleGamer interface.