game class skeleton