Compare commits

..

No commits in common. "e36ded546ad18f8e2c8a3335c2b075428aaec65f" and "1ab36bb32e2d8f440e2916f780d6b0e72fbb1c67" have entirely different histories.

3 changed files with 4 additions and 5 deletions

View File

@ -49,13 +49,12 @@ h1,h2,h3,h4,h5,h6 {
position: fixed;
bottom: 5px;
left: 5px;
color: rgb(255, 80, 80);
color: rgb(0, 255, 0);
font-size: 9px;
pointer-events: none;
user-select: none;
z-index: 999;
font-family: "IBM Plex Mono", monospace;
font-weight: 400;
font-family: 'Roboto Mono', monospace;
}
.board {

View File

@ -106,7 +106,7 @@ socket.on("ship sunk", (victimIdx, ship) => {
break;
}
let l = ship.type + 1;
let l = !ship.type ? ship.type + 1 : ship.type + 2;
if (victimIdx === playerIdx) {
for (let i = 0; i < l; i++) {
console.log("ourship");

View File

@ -15,7 +15,7 @@
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
</head>
<body>
<span class="designerTag">Designed by mcjk</span>
<span class="designerTag">Designed by Maciejka</span>
{{{body}}}
</body>