Use mora instead of characters, e.g. しゅ
This commit is contained in:
parent
4076a4c556
commit
96b97ca820
3 changed files with 55 additions and 19 deletions
|
@ -25,7 +25,7 @@ ws.onmessage = e => {
|
|||
case "word":
|
||||
let waiting = data.author === id;
|
||||
displayWord(data.word, true);
|
||||
input.placeholder = waiting ? "Waiting for other players..." : `${data.next_char}…`;
|
||||
input.placeholder = waiting ? "Waiting for other players..." : `${data.next_mora}…`;
|
||||
input.disabled = waiting;
|
||||
if (!waiting) input.focus();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue