framework for game