game class definitions