<commit_before>var language;
var category;
var word;
var imageCounter = 1;

$(document).ready(function()
	{
		startDiv=document.getElementById('start');
		prepareDiv=document.getElementById('prepare');
		prepareDiv.style.display= 'none';
		gameDiv=document.getElementById('gameArea');
		gameDiv.style.display= 'none';
		
		$("#image1")
		.css("right","0")
		for (var i = 2; i <= 7 ; i++) {
			$("#image"+i)
			.css("display","none")
			.css("right","0")
		}

		$("#start button")
		.hover(function(){
			$(this)
			.animate({width: "25%", height:"33%"}, 300)
		},function(){
			$(this)
			.animate({width: "23%", height:"30%"}, 300)
		})

		$("#but1")
		.click(function(){
			language = "tr";
			startDiv.style.display="none";
			prepareDiv.style.display= 'block';

			$("body")
			.css("background-color","66FFCC")

		})

		$("#but2")
		.click(function(){
			language ="eng";
			startDiv.style.display="none";
			prepareDiv.style.display= 'block';

			$("body")
			.css("background-color","66FFCC")

			$("#select")
			.html("Please select a category")

			$("#newGame")
			.html("New Game")
			selects = ["Animal", "City", "Goods", "Country", "Plant"]
			for (var i = 1; i < 6; i++) {
				$("#b"+i)
				.html(selects[i-1])			
			};		
		})

		$("#prepare button")
		.hover(function(){
			$(this)
			.animate({width: "11%", height:"9%"}, 100)
		},function(){
			$(this)
			.animate({width: "10%", height:"7%"}, 100)
		})
		.click(function(){
			category = $(this).html();
			if (category=="Hayvan" || category=="Animal") {
				word = animal();
			}else if (category=="Şehir"|| category=="City") {
				word = city();
			}else if (category=="Eşya"|| category=="Goods") {
				word = goods();
			}else if (category=="Ülke"|| category=="Country") {
				word = country();
			}else if (category=="Bitki"|| category=="Plant") {
				word = plant();
			}
			for (var i = 1; i <= word.length; i++) {
				$("#h"+i)
				.css("background-color","blue")
				.css("color","yellow")
				.css("width","80px")
				.css("height","80px")
				.css("font-size","40px")
				.css("font-weight","bold")
				.css("text-align","center")
				.css("padding-top","30px")
				.css("display","block")
			}

			prepareDiv.style.display= 'none';
			inputObject=document.getElementById('letter');
			if (language=="tr") {
				inputObject.placeholder = "Harf giriniz.";
				$("#gameText")
				.html("Bir " + category)
				$("#entered")
				.html("Girilen harfler: ")
			}
			else{
				inputObject.placeholder = "Enter a letter";
				$("#entered")
				.html("Entered letters: ")
				if (category=="Animal") {
					$("#gameText")
					.html("An " + category)
				}
				else{
					$("#gameText")
					.html("A " + category)
				}
			}
			gameArea.style.display = "block";	
		})

		$("#footer img")
		.hover(function(){
			$(this)<commit_msg>css array updated<commit_after>var language;
var category;
var word;
var imageCounter = 1;

$(document).ready(function()
	{
		startDiv=document.getElementById('start');
		prepareDiv=document.getElementById('prepare');
		prepareDiv.style.display= 'none';
		gameDiv=document.getElementById('gameArea');
		gameDiv.style.display= 'none';
		
		$("#image1")
		.css("right","0")
		for (var i = 2; i <= 7 ; i++) {
			$("#image"+i)
			.css({
				"display":"none",
				"right":"0"
			})
		}

		$("#start button")
		.hover(function(){
			$(this)
			.animate({width: "25%", height:"33%"}, 300)
		},function(){
			$(this)
			.animate({width: "23%", height:"30%"}, 300)
		})

		$("#but1")
		.click(function(){
			language = "tr";
			startDiv.style.display="none";
			prepareDiv.style.display= 'block';

			$("body")
			.css("background-color","66FFCC")

		})

		$("#but2")
		.click(function(){
			language ="eng";
			startDiv.style.display="none";
			prepareDiv.style.display= 'block';

			$("body")
			.css("background-color","66FFCC")

			$("#select")
			.html("Please select a category")

			$("#newGame")
			.html("New Game")
			selects = ["Animal", "City", "Goods", "Country", "Plant"]
			for (var i = 1; i < 6; i++) {
				$("#b"+i)
				.html(selects[i-1])			
			};		
		})

		$("#prepare button")
		.hover(function(){
			$(this)
			.animate({width: "11%", height:"9%"}, 100)
		},function(){
			$(this)
			.animate({width: "10%", height:"7%"}, 100)
		})
		.click(function(){
			category = $(this).html();
			if (category=="Hayvan" || category=="Animal") {
				word = animal();
			}else if (category=="Şehir"|| category=="City") {
				word = city();
			}else if (category=="Eşya"|| category=="Goods") {
				word = goods();
			}else if (category=="Ülke"|| category=="Country") {
				word = country();
			}else if (category=="Bitki"|| category=="Plant") {
				word = plant();
			}
			for (var i = 1; i <= word.length; i++) {
				$("#h"+i)
				.css({ 'background-color': "blue",
		            "color": "yellow",
					"width": "80px",
					"height": "80px",
					"font-size": "40px",
					"font-weight": "bold",
					"text-align": "center",
					"padding-top": "30px",
					"display": "block"
			     })
		}
			prepareDiv.style.display= 'none';
			inputObject=document.getElementById('letter');
			if (language=="tr") {
				inputObject.placeholder = "Harf giriniz.";
				$("#gameText")
				.html("Bir " + category)
				$("#entered")
				.html("Girilen harfler: ")
			}
			else{
				inputObject.placeholder = "Enter a letter";
				$("#entered")
				.html("Entered letters: ")
				if (category=="Animal") {
					$("#gameText")
					.html("An " + category)
				}
				else{
					$("#gameText")
					.html("A " + category)
				}
			}
			gameArea.style.display = "block";	
		})

		$("#footer img")
		.hover(function(){
			$(this)
{'fraction_non_alphanumeric': 0.2396149046175789, 'fraction_numerical': 0.017828489926903193, 'mean_word_length': 3.2053973013493255, 'pattern_counts': {'":': 10, '<': 9, '<?xml version=': 0, '>': 3, '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': '590037', 'n_tokens_mistral': 2543, 'n_tokens_neox': 2006, 'n_words': 380}