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;
|
||||
bottom: 5px;
|
||||
left: 5px;
|
||||
color: rgb(0, 255, 0);
|
||||
color: rgb(255, 80, 80);
|
||||
font-size: 9px;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
z-index: 999;
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-family: "IBM Plex Mono", monospace;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.board {
|
||||
|
@ -106,7 +106,7 @@ socket.on("ship sunk", (victimIdx, ship) => {
|
||||
break;
|
||||
}
|
||||
|
||||
let l = !ship.type ? ship.type + 1 : ship.type + 2;
|
||||
let l = ship.type + 1;
|
||||
if (victimIdx === playerIdx) {
|
||||
for (let i = 0; i < l; i++) {
|
||||
console.log("ourship");
|
||||
|
@ -15,7 +15,7 @@
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<span class="designerTag">Designed by Maciejka</span>
|
||||
<span class="designerTag">Designed by mcjk</span>
|
||||
|
||||
{{{body}}}
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user