implemented method to switch game size based on player input