<commit_before><!doctype html>
<html>
  <head>
    <title>Death by Time Manipulation</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <style type="text/css">
body {
  margin: 0px;
  padding: 0px;
  background-color: black;
  color: white;
  font-family: "Arial", "serif";
  font-size: 50px;
}
div.texty {
  position: absolute;
  width: 100%;
  text-align: center;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}
    </style>
    <script type="text/javascript" src="js/common.js">
    </script>
    <script type="text/javascript" src="js/game.js">
    </script>
    <script type="text/javascript" src="js/obj.js">
    </script>
    <script type="text/javascript" src="js/obj_prop.js">
    </script>
  </head>
  <body onkeydown="keyDown(event)" onkeyup="keyUp(event)"
        onmousedown="mouseDown()" onmouseup="mouseUp()" onmousemove="getMousePos(event)"
        ontouchstart="getMousePos(event.changedTouches[0]); mouseDown()" ontouchend="mouseUp()" ontouchmove="getMousePos(event.changedTouches[0]); if (player) event.preventDefault()">
    <div id="draw" style="position: absolute; width: 100%; height: 100%"></div>
    <div id="intro" class="texty">
      Death by Time Manipulation<br/><br/>
      <div style="font-size: 25px">
        <form action="https://github.com/ad510/time-dilation-game/blob/gh-pages/README.md#how-do-you-die-by-time-manipulation" target="_blank">
          <input type="submit" value="How do you die by time manipulation?" style="font-size: 25px"/>
        </form><br/><br/>
        <input type="button" value="Easy" onclick="load('gray')" style="font-size: 25px"/><br/>
        Black hole-inspired objects are visible. Asteroids have no effect on gameplay.<br/><br/>
        <input type="button" value="Hard" onclick="load('black')" style="font-size: 25px"/><br/>
        Black hole-inspired objects are invisible on a black background, so you must find them by studying their time manipulation effects on asteroids and rocket exhaust.
      </div>
    </div>
    <div id="instruct" class="texty" style="display: none">Use arrow keys to move. Avoid the "black holes!"</div>
    <div id="gameover" class="texty" style="display: none">
      GAME OVER<br/>
      You survived for <span id="score">&nbsp;</span> seconds<br/>
      <input type="button" value="Play Again" onclick="location.reload()" style="font-size: 25px"/>
    </div>
  </body><commit_msg>fix button size on webkit<commit_after><!doctype html>
<html>
  <head>
    <title>Death by Time Manipulation</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <style type="text/css">
body {
  margin: 0px;
  padding: 0px;
  background-color: black;
  color: white;
  font-family: "Arial", "serif";
  font-size: 50px;
}
input {
  -webkit-appearance: button;
  font-size: 25px;
}
div.texty {
  position: absolute;
  width: 100%;
  text-align: center;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}
    </style>
    <script type="text/javascript" src="js/common.js">
    </script>
    <script type="text/javascript" src="js/game.js">
    </script>
    <script type="text/javascript" src="js/obj.js">
    </script>
    <script type="text/javascript" src="js/obj_prop.js">
    </script>
  </head>
  <body onkeydown="keyDown(event)" onkeyup="keyUp(event)"
        onmousedown="mouseDown()" onmouseup="mouseUp()" onmousemove="getMousePos(event)"
        ontouchstart="getMousePos(event.changedTouches[0]); mouseDown()" ontouchend="mouseUp()" ontouchmove="getMousePos(event.changedTouches[0]); if (player) event.preventDefault()">
    <div id="draw" style="position: absolute; width: 100%; height: 100%"></div>
    <div id="intro" class="texty">
      Death by Time Manipulation<br/><br/>
      <div style="font-size: 25px">
        <form action="https://github.com/ad510/time-dilation-game/blob/gh-pages/README.md#how-do-you-die-by-time-manipulation" target="_blank">
          <input type="submit" value="How do you die by time manipulation?"/>
        </form><br/><br/>
        <input type="button" value="Easy" onclick="load('gray')"/><br/>
        Black hole-inspired objects are visible. Asteroids have no effect on gameplay.<br/><br/>
        <input type="button" value="Hard" onclick="load('black')"/><br/>
        Black hole-inspired objects are invisible on a black background, so you must find them by studying their time manipulation effects on asteroids and rocket exhaust.
      </div>
    </div>
    <div id="instruct" class="texty" style="display: none">Use arrow keys to move. Avoid the "black holes!"</div>
    <div id="gameover" class="texty" style="display: none">
      GAME OVER<br/>
      You survived for <span id="score">&nbsp;</span> seconds<br/>
      <input type="button" value="Play Again" onclick="location.reload()"/>
    </div>
  </body>
{'fraction_non_alphanumeric': 0.17566728739913098, 'fraction_numerical': 0.01324229257190151, 'mean_word_length': 3.858291457286432, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4567427', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1574, 'n_words': 382}