{"size": 722, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "momostein/zenuwen-js", "max_stars_repo_stars_event_min_datetime": "2020-12-18T13:06:49.000Z", "max_stars_repo_stars_event_max_datetime": "2020-12-18T13:06:49.000Z", "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "momostein/zenuwen-js", "max_issues_repo_issues_event_min_datetime": "2021-01-01T07:11:49.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-01T14:02:39.000Z", "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "momostein/zenuwen-js", "max_forks_repo_forks_event_min_datetime": "2020-12-18T13:07:29.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-18T14:07:57.000Z"}
{"max_stars_count": 1, "max_issues_count": 3, "max_forks_count": 2, "avg_line_length": 21.2352941176, "max_line_length": 85, "alphanum_fraction": 0.6606648199}
import Phaser from 'phaser';
import Scenes from './js/scenes';
import { difficulties } from './js/ai';
import { style } from './js/style';

const config = {
	type: Phaser.AUTO,
	scale: {
		width: 1920,
		height: 1080,
		mode: Phaser.Scale.FIT,
		autoCenter: Phaser.Scale.CENTER_BOTH,
	},
	physics: {
		default: 'arcade',
		arcade: {
			gravity: { y: 200 },
		},
	},
	// scene: {
	// 	preload,
	// 	create,
	// },
	scene: Scenes,
	backgroundColor: style.colors.background,
};

// eslint-disable-next-line no-unused-vars
const game = new Phaser.Game(config);

// Set default difficulty to easy
game.config.difficulty = difficulties.easy;
game.config.screenCenter = { x: config.scale.width / 2, y: config.scale.height / 2 };
