Yeah I’ll just have redo how I do the grid; I’ll make each box a div and selectively turn off its borders I think.
I was using a display grid to line elements up, and then trying to draw repeating borders (with a repeating gradient) but since they’re all drawn in one go, I had to draw over them to remove, but it’s not very resizable. Things are just off by a pixel here and there depending on the zoom level.
I’ll rework it all after work this evening, it’s good practice for me. (although I’m sure some of you could do a better job quicker ). I’ll see if I can get rid of the hoshi as well and maybe if I’ve time add in a button and an input box to choose how many holes you want and have it generate randomly.
The hoshi points should disappear when they’re supposed to be holes
The holes shouldn’t be clickable to place stones, and there won’t be a hover effect over them.
There’s coordinates on both sides of the board.
I’ve swapped over to each square being a div and the lines are now 2px rather than 1px, because that’s all I know how so far (there might be the odd line looking thinner depending on zoom level, I’m unsure of an overall fix).
Big feature is adding in an input for generating boards with holes randomly
I might try to add a url param that saves the game state to make it shareable before this game progresses too far along.
EDIT:
I don’t want to keep interupting the game with posts, but I fixed a problem where I broke the no hole board and I added a way to generate a shareable link to the current board
I’ve added an button to generate an image (draw to html canvas) of the current board position so you can copy and paste (right click and click copy) the image if that’s any easier than screenshotting
I think the only thing is that the coordinates don’t look as nice maybe (I’ll have to think about that )
Your screen shot on the left, the canvas drawing on the right.