document.getElementById('game').onclick = function(event){
console.log(event);
if (event.target.className == 'block' && event.target.innerHTML === ''){
if (hod%2==0) {
event.target.innerHTML = 'x';
}
else {
event.target.innerHTML = '0';
}
hod++;
checkWinner();
}
}