import: Allow import ?/!/white/black/win/lose/draw/resign

This commit is contained in:
Calcitem 2021-06-12 22:26:20 +08:00
parent bec5c215d8
commit d2be5efa17
1 changed files with 8 additions and 0 deletions

View File

@ -73,6 +73,14 @@ class GameRecorder {
.replaceAll('\n', ' ')
.replaceAll(',', ' ')
.replaceAll(';', ' ')
.replaceAll('!', ' ')
.replaceAll('?', ' ')
.replaceAll('white', ' ')
.replaceAll('black', ' ')
.replaceAll('win', ' ')
.replaceAll('lose', ' ')
.replaceAll('draw', ' ')
.replaceAll('resign', ' ')
.split(' ');
for (var i in list) {