index.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="description" content="Educational game for teaching fractions" />
  6. <meta name="keywords" content="ifractions, fraction, game" />
  7. <link rel="shortcut icon" href="assets/img/scene/flag.png">
  8. <title> iFractions </title>
  9. <link rel="stylesheet" href="css/bootstrap.min.css">
  10. <style>
  11. #text-field {
  12. position: absolute;
  13. top: 300px;
  14. margin-left: 340px;
  15. visibility: hidden;
  16. }
  17. input[type=text] {
  18. background-color: #fff;
  19. padding: 15px 40px;
  20. box-sizing: border-box;
  21. border: 3px solid #ccc;
  22. font-size: 44px;
  23. font-family: Arial;
  24. color: #000;
  25. text-align: center;
  26. }
  27. input:focus {
  28. outline: 3px solid #85accc;
  29. }
  30. #iFractions-canvas {
  31. padding: 0 auto 0 auto;
  32. border: solid 3px #fff;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <div class="container">
  38. <div class="clearfix"></div>
  39. <div class="panel panel-primary">
  40. <div class="panel-heading">IFRACTIONS GAME</div>
  41. <div class="panel-body">
  42. <!-- iFractions game -->
  43. <canvas id="iFractions-canvas"></canvas>
  44. </div>
  45. </div>
  46. <div id="div-fps"><!-- display frames per second--></div>
  47. <div class="panel panel-info">
  48. <div class="panel-heading">TEAM</div>
  49. <div class="panel-body text-center">
  50. <ul>
  51. <li><strong>BRAZIL:</strong> Le&ocirc;nidas de Oliveira Brand&atilde;o (IME-USP)</li>
  52. <li><strong>PERU:</strong> Manuel Ibarra and Cristhian Serrano (EAPIIS-UNAMBA)</li>
  53. <li><strong>FRANCE:</strong> Jean-Marc (MOCAH-UPMC)</li>
  54. </ul>
  55. </div>
  56. </div>
  57. <div class="panel panel-default">
  58. <div class="panel-heading">BASED ON</div>
  59. <div class="panel-body text-center">
  60. <ul>
  61. <li><strong>iLM </strong>(interactive Learning Modules) </li>
  62. <li><strong>Six facets of Serious Game Design</strong>: Pedagogical Objectives; Domain Simulation;
  63. Interactions with the Simulation;<br>Problems and Progression; Decorum and Conditions of Use.
  64. </li>
  65. </ul>
  66. </div>
  67. </div>
  68. <div class="panel panel-danger">
  69. <div class="panel-heading">TECHNOLOGY</div>
  70. <div class="panel-body text-center">
  71. <ul>
  72. <li> We used <strong>HTML5</strong>, <strong>CSS</strong> and the <strong>Javascript</strong>
  73. library <a href="http://phaser.io/" target="_blank"><strong>Phaser.io</strong></a> </li>
  74. </ul>
  75. </div>
  76. </div>
  77. <div id="text-field">
  78. <form onsubmit="return false">
  79. <input type="text" id="name_id" value="" size="13" maxlength="36">
  80. </form>
  81. </div>
  82. </div>
  83. <script src="js/preMenu.js"></script>
  84. <script src="js/menu.js"></script>
  85. <script src="js/difficulty.js"></script>
  86. <script src="js/map.js"></script>
  87. <script src="js/circleOne.js"></script>
  88. <script src="js/squareOne.js"></script>
  89. <script src="js/squareTwo.js"></script>
  90. <script src="js/globals.js"></script>
  91. <script src="js/gameMechanics.js"></script>
  92. <script>
  93. const displayFps = document.getElementById("div-fps");
  94. const canvas = document.getElementById("iFractions-canvas");
  95. canvas.width = defaultWidth;
  96. canvas.height = defaultHeight;
  97. const context = canvas.getContext("2d");
  98. boot.preload();
  99. </script>
  100. </body>
  101. </html>