setup frame for game and a player class