Added the beginning of entering a game and the search Q