add game repository and its test.