mirror of
https://github.com/MaciejkaG/statki.git
synced 2024-11-29 23:32:54 +01:00
Compare commits
2 Commits
1ab36bb32e
...
e36ded546a
Author | SHA1 | Date | |
---|---|---|---|
|
e36ded546a | ||
|
a1ae17227b |
@ -49,12 +49,13 @@ h1,h2,h3,h4,h5,h6 {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
color: rgb(0, 255, 0);
|
color: rgb(255, 80, 80);
|
||||||
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: 'Roboto Mono', monospace;
|
font-family: "IBM Plex Mono", monospace;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.board {
|
.board {
|
||||||
|
@ -106,7 +106,7 @@ socket.on("ship sunk", (victimIdx, ship) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
let l = !ship.type ? ship.type + 1 : ship.type + 2;
|
let l = ship.type + 1;
|
||||||
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 Maciejka</span>
|
<span class="designerTag">Designed by mcjk</span>
|
||||||
|
|
||||||
{{{body}}}
|
{{{body}}}
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user