game class declaration