setting up framework for opening games