index.html 1020 B

1234567891011121314151617181920212223242526272829303132333435
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>iHealth</title>
  6. <script src="./js/phaser.js"></script>
  7. <script src="./js/inicio.js"></script>
  8. <script src="./js/resultados.js"></script>
  9. <script src="./js/jogo.js"></script>
  10. <!--script src="./js/phaser_addon.js"></script>
  11. <script src="./js/ajuda.js"></script-->
  12. <script type="text/javascript">
  13. if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) document.write('<style type="text/css">body { margin: 0; } canvas { id: "Canvas"; width: 100%; } </style>');
  14. else document.write('<style type="text/css">body { margin: 0; } canvas { id: "Canvas"; width: 30%; } </style>');
  15. </script>
  16. </head>
  17. <body>
  18. <script type="text/javascript">
  19. var config = {
  20. type: Phaser.AUTO,
  21. width: 975,
  22. height: 1550,
  23. backgroundColor: '#313191',
  24. scene: [ Inicio, Resultados, Jogo ]
  25. };
  26. var game = new Phaser.Game(config);
  27. </script>
  28. </body>
  29. </html>