mirror of
https://github.com/MaciejkaG/statki.git
synced 2024-11-30 05:32:54 +01:00
Compare commits
No commits in common. "e36ded546ad18f8e2c8a3335c2b075428aaec65f" and "1ab36bb32e2d8f440e2916f780d6b0e72fbb1c67" have entirely different histories.
e36ded546a
...
1ab36bb32e
@ -49,13 +49,12 @@ h1,h2,h3,h4,h5,h6 {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
color: rgb(255, 80, 80);
|
color: rgb(0, 255, 0);
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
font-family: "IBM Plex Mono", monospace;
|
font-family: 'Roboto Mono', monospace;
|
||||||
font-weight: 400;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.board {
|
.board {
|
||||||
|
@ -106,7 +106,7 @@ socket.on("ship sunk", (victimIdx, ship) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
let l = ship.type + 1;
|
let l = !ship.type ? ship.type + 1 : ship.type + 2;
|
||||||
if (victimIdx === playerIdx) {
|
if (victimIdx === playerIdx) {
|
||||||
for (let i = 0; i < l; i++) {
|
for (let i = 0; i < l; i++) {
|
||||||
console.log("ourship");
|
console.log("ourship");
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<span class="designerTag">Designed by mcjk</span>
|
<span class="designerTag">Designed by Maciejka</span>
|
||||||
|
|
||||||
{{{body}}}
|
{{{body}}}
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user