base .py file, game class