This commit is contained in:
qrhlhplhp 2022-11-02 23:31:27 +09:00
parent dcb0b0f0be
commit b9af2bf369
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
<title>U-S-S-R</title>
</head>
<body>
<h1>Welcome to Ultra Super Stylish Reversi, <span id="ussr">USSR!!!</span></h1>
<h1>Welcome to the Ultra Super Stylish Reversi, <span id="ussr">USSR!!!</span></h1>
<div style="display:flex;" id="flag">
<div>
<table id="table"></table>

View File

@ -42,10 +42,10 @@ score.innerText = ""
sur.innerText = "SURRENDER";
stone[3][3] = 1; stone[4][4] = 1;
stone[4][3] = 2; stone[3][4] = 2;
document.getElementById("td-3-3").innerHTML = "<div class=\"stone yellow\"></div>";
document.getElementById("td-4-4").innerHTML = "<div class=\"stone yellow\"></div>";
document.getElementById("td-4-3").innerHTML = "<div class=\"stone blue\"></div>";
document.getElementById("td-3-4").innerHTML = "<div class=\"stone blue\"></div>";
document.getElementById("td-3-3").innerHTML = `<div class="stone yellow"></div>`;
document.getElementById("td-4-4").innerHTML = `<div class="stone yellow"></div>`;
document.getElementById("td-4-3").innerHTML = `<div class="stone blue"></div>`;
document.getElementById("td-3-4").innerHTML = `<div class="stone blue"></div>`;
}
def();