Game tree generation