<commit_before><html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Wright! Telegram</title>
	<link rel="stylesheet" href="../../fonts/stylesheet.css" type="text/css" charset="utf-8" />
	<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<script type="text/javascript" src="../../js/wright.js?a=1"></script>
</head>
<body onload="onl()" style="background-color:#000">
	<div id="game" style="margin:auto"></div>
</body>
<script>

function onl() {
	var game=Supports.getUrlParameter("game");
	window._hiscore=0;
	Supports.nativeFullscreen=0;
	Supports.isLocalStorage=0; // No local storage allowed on Telegram games.
	if (game)
		runSingleWright(game,
			{
				tapesRoot:'../../tapes/',
				systemRoot:'../../system/',
				gameContainer:document.getElementById('game'),
				scale:1,
				onReady:function() {
					window._WRIGHT.getGame().node.gotoFullScreen();
				},
				onPublishScore:function(score) {
					if (score>window._hiscore) {
						// Send only local highscores
						window._hiscore=score;
						Supports.callUrl("POST","bot.php",{postData:{score:score},header:{"SCOREDATA":Supports.getUrlParameter("scoredata")}});
					}
				}
			}
		);
}

</script>
</html><commit_msg>Switched to new fullscreen mode.<commit_after><html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Wright! Telegram</title>
	<link rel="stylesheet" href="../../fonts/stylesheet.css" type="text/css" charset="utf-8" />
	<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<script type="text/javascript" src="../../js/wright.js?a=1"></script>
</head>
<body onload="onl()" style="background-color:#000">
	<div id="game" style="margin:auto"></div>
</body>
<script>

function onl() {
	var game=Supports.getUrlParameter("game");
	window._hiscore=0;
	Supports.nativeFullscreen=0;
	Supports.isLocalStorage=0; // No local storage allowed on Telegram games.
	if (game)
		runSingleWright(game,
			{
				tapesRoot:'../../tapes/',
				systemRoot:'../../system/',
				gameContainer:document.getElementById('game'),
				scale:1,
				lockFullscreen:1,
				onPublishScore:function(score) {
					if (score>window._hiscore) {
						// Send only local highscores
						window._hiscore=score;
						Supports.callUrl("POST","bot.php",{postData:{score:score},header:{"SCOREDATA":Supports.getUrlParameter("scoredata")}});
					}
				}
			}
		);
}

</script>
</html>
{'fraction_non_alphanumeric': 0.20015885623510724, 'fraction_numerical': 0.010722795869737888, 'mean_word_length': 4.405579399141631, 'pattern_counts': {'":': 2, '<': 37, '<?xml version=': 0, '>': 39, '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': '3719040', 'n_tokens_mistral': 990, 'n_tokens_neox': 878, 'n_words': 132}