import 'bootstrap/dist/js/bootstrap' ; import { AssetLoader } from './asset-loader' ; import { Game } from './game' ; const assetLoader = new AssetLoader ( ) ; assetLoader . loadAll ( ) . then ( ( ) => { const game = new Game ( assetLoader ) ; Object . assign ( window , { game } ) ; game . start ( ) ; } ) ;