Game now detects screen size and generates snacks accordingly