diff --git a/public/assets/css/board.css b/public/assets/css/board.css index 8e401c7..83dc6e6 100644 --- a/public/assets/css/board.css +++ b/public/assets/css/board.css @@ -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 { diff --git a/public/assets/js/socket-game.js b/public/assets/js/socket-game.js index 48f855a..5ae6f07 100644 --- a/public/assets/js/socket-game.js +++ b/public/assets/js/socket-game.js @@ -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"); diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 79502a4..f576460 100644 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -15,7 +15,7 @@ - Designed by Maciejka + Designed by mcjk {{{body}}}