game class and buttons