diff --git a/index.html b/index.html index 80a3e73..0ccef96 100644 --- a/index.html +++ b/index.html @@ -22,14 +22,7 @@
- + diff --git a/src/web-socket-handler.tsx b/src/web-socket-handler.tsx index 51a5f85..ec09aca 100644 --- a/src/web-socket-handler.tsx +++ b/src/web-socket-handler.tsx @@ -224,6 +224,15 @@ class GameServer { , ); } + } else if (this.gomoku.status === 'waiting') { + buttons.push( + , + ); } conn.ws.send(
{buttons}
);