<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Mantra.js Gallery Page - game graphics</title>
  <script src="https://yantra.gg/mantra.js"></script>
<script src="https://yantra.gg/worlds.mantra.js"></script>
</head>
<body>
<script>
let game = new MANTRA.Game({
  graphics: ['css'], // array enum, 'babylon', 'phaser', 'css', 'three'
  width: 300,
  height: 300,
  defaultMovement: true,
});
game.start(function(){

  game.setZoom(2);
  game.createBorder();
  game.createPlayer();
  // TODO: switch between graphics with a button
  // check that setup / teardown of graphics works as expected</script>
</body>
</html>