diff --git a/public/game.html b/public/game.html index 397b0c88bce90770e96d1bb4df76d5b3caf1df45..80e94909daa1c6ed8265db5c03645fb382ff4436 100644 --- a/public/game.html +++ b/public/game.html @@ -80,6 +80,16 @@ ); ctx.fillStyle = "white"; } + if (board[i][j].type === 4) { + ctx.fillStyle = "yellow"; + ctx.fillRect( + j * widthStep + 1, + i * heightStep + 1, + widthStep - 2, + heightStep - 2, + ); + ctx.fillStyle = "white"; + } } } };