<commit_before><!DOCTYPE HTML>
<html>
  <head>
      <title>GOthello</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/>
      <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
      <link rel="stylesheet" href="css/play.css">
      <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
      <script src="js/board.js"></script>
      <script src="js/ai.js"></script>
      <script>
      $(document).bind("mobileinit",function() {
        $.mobile.changePage.defaults.changeHash = false;
        $.mobile.hashListeningEnabled = false;
        $.mobile.pushStateEnabled = false;
      });
      </script>
      <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
  </head>
  <body>
    <div data-role="page" id="home">
      <div data-role="header">
        <h3>GOthello!</h3>
      </div>
      <div data-role="content">
        <div class="scroll_wrapper ui-content" data-isscroll>
          <ul data-role="listview" id="home_menu" data-theme="a">
            <li><a class="single" href="#board" data-transition="flip">Single Player</a></li>
            <li><a class="double" href="#board" data-transition="flip">Multiplayer</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div data-role="page" id="board">
      <center>
        <div class="game-board">

        </div>
      </center>
      <a class="back ui-btn ui-icon-back ui-btn-icon-left" href="#home">BACK</a>
      <a class="settings ui-btn ui-icon-gear ui-btn-icon-left">SETTINGS</a>
    </div>
  </body>
  <script>
    /*
    * This function returns the next character in the alphabet
    */
    function nextChar(c) {
        return String.fromCharCode(c.charCodeAt(0) + 1);
    }

    var turn = 1;
    var maxTurn = 2;
    var single = false;

    $(".single").click(function(){single = true;});

    /*
    * Initialize the board (should eventually look for a configuration file
    * instead of just hard coding the size)
    */
    var sBoard = new GT.Board(7,7);
    var sArray = sBoard.tiles();

    /**
     * randoBot takes no prisoners
     */<commit_msg>made back button clear and update board<commit_after><!DOCTYPE HTML>
<html>
  <head>
      <title>GOthello</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/>
      <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
      <link rel="stylesheet" href="css/play.css">
      <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
      <script src="js/board.js"></script>
      <script src="js/ai.js"></script>
      <script>
      $(document).bind("mobileinit",function() {
        $.mobile.changePage.defaults.changeHash = false;
        $.mobile.hashListeningEnabled = false;
        $.mobile.pushStateEnabled = false;
      });
      </script>
      <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
  </head>
  <body>
    <div data-role="page" id="home">
      <div data-role="header">
        <h3>GOthello!</h3>
      </div>
      <div data-role="content">
        <div class="scroll_wrapper ui-content" data-isscroll>
          <ul data-role="listview" id="home_menu" data-theme="a">
            <li><a class="single" href="#board" data-transition="flip">Single Player</a></li>
            <li><a class="double" href="#board" data-transition="flip">Multiplayer</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div data-role="page" id="board">
      <center>
        <div class="game-board">

        </div>
      </center>
      <a class="back ui-btn ui-icon-back ui-btn-icon-left" href="#home">BACK</a>
      <a class="settings ui-btn ui-icon-gear ui-btn-icon-left">SETTINGS</a>
    </div>
  </body>
  <script>
    /*
    * This function returns the next character in the alphabet
    */
    function nextChar(c) {
        return String.fromCharCode(c.charCodeAt(0) + 1);
    }

    var turn = 1;
    var maxTurn = 2;
    var single = false;

    $(".single").click(function(){single = true;});
    $(".double").click(function(){single = false;});
    $(".back").click(function(){sBoard.reset(); updateBoard(); turn = 1;})

    /*
    * Initialize the board (should eventually look for a configuration file
    * instead of just hard coding the size)
    */
    var sBoard = new GT.Board(7,7);
    var sArray = sBoard.tiles();

    /**
     * randoBot takes no prisoners
     */
{'fraction_non_alphanumeric': 0.18559322033898304, 'fraction_numerical': 0.011652542372881356, 'mean_word_length': 2.6315384615384616, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, 'https://': 0, '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': '6307083', 'n_tokens_mistral': 1602, 'n_tokens_neox': 1566, 'n_words': 296}