framework for time game mode