<commit_before><!DOCTYPE html>
<html lang="en">

<head>
	<script src="/js/index.js"></script>
	<script src="/js/jquery-2.1.3.min.js"></script>
	<script src="/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="/css/bootstrap.min.css">
	<link rel="stylesheet" href="/css/bootstrap-theme.min.css">
</head>

<body>
	<div class="container">
		<div class="row">
			<div class="col-lg-6">
				<h1>Let's Play Go!</h1>
				<a href="/game/1234">
					<button type="button" id="newGame" class="btn btn-primary btn-lg">New Game</button>
				</a>
			</div>
		</div>
	</div><commit_msg>new game button now generates a new game and redirects you to that game's URL<commit_after><!DOCTYPE html>
<html lang="en">

<head>
	<script src="/js/index.js"></script>
	<script src="/js/jquery-2.1.3.min.js"></script>
	<script src="/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="/css/bootstrap.min.css">
	<link rel="stylesheet" href="/css/bootstrap-theme.min.css">
</head>

<body>
	<div class="container">
		<div class="row">
			<div class="col-lg-6">
				<h1>Let's Play Go!</h1>
				<button type="button" onclick="newGame()" id="newGame" class="btn btn-primary btn-lg">New Game</button>
			</div>
		</div>
	</div>

	<script>
	function newGame() {
		$.get("/newgame", function(data) {
			console.log(data);
			window.location.href = '/game/' + data;
		});
	}
	</script>
{'fraction_non_alphanumeric': 0.22750548646671542, 'fraction_numerical': 0.011704462326261888, 'mean_word_length': 4.066666666666666, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, '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': '602336', 'n_tokens_mistral': 561, 'n_tokens_neox': 511, 'n_words': 103}