27 Commits

Author SHA1 Message Date
Riceball LEE
6fe7d86567
fix: trim func forget to return value 2022-08-28 09:04:50 +08:00
Riceball LEE
8d49d2e788
fix: select type forget to sort string too 2022-08-27 22:01:17 +08:00
Riceball LEE
d885b6dfe7
fix: trim space first 2022-08-08 10:59:03 +08:00
Riceball LEE
6a5ed9fbe9
fix: should not merge quizzes in the config 2022-08-02 13:22:16 +08:00
Riceball LEE
3c533d8deb
feat: export calcType,isInvalidQuiz,loadConfig,saveConfig funcs 2022-07-31 09:56:47 +08:00
Riceball LEE
4e76222a3d
refactor: rename to lastCheckedTime and do not persistent the lastCheckedTime too
fix(id): hash quiz.title and quiz.answer as id now
2022-07-28 11:38:07 +08:00
Riceball LEE
efa84f3936
fix: id may be duplication 2022-07-27 09:59:41 +08:00
Riceball LEE
5b5ca6e2f9
fix: should not skip the calc type 2022-07-25 20:27:45 +08:00
Riceball LEE
a550cd985c
fix: do not update leavedTime if usedTime < 3min 2022-07-21 16:33:31 +08:00
Riceball LEE
c0b2ae57ef
fix(select): crash when multi-options array in answer 2022-07-20 14:09:38 +08:00
Riceball LEE
e513c4fa2b
feat(select): shuffle the multiple choice 2022-07-20 11:50:07 +08:00
Riceball LEE
bd3e4294fe
feat: add multiple choice questions supported(type: select) 2022-07-19 15:51:55 +08:00
Riceball LEE
ad75e699ce
fix: four arithmetic expressions typo 2022-07-18 16:22:59 +08:00
Riceball LEE
8c79cd75c9
feat: The answer supports generate simple four arithmetic expressions randomly(type: calc) 2022-07-18 16:12:58 +08:00
Riceball LEE
ba20ceaaf4
feat: The answer supports the [Lua string pattern](https://www.lua.org/pil/20.2.html) enclosed in "/" slashes. 2022-07-11 19:04:02 +08:00
Riceball LEE
f3e7d80b42
fix: the global name should be the same with mod name 2021-07-16 18:12:39 +08:00
Riceball LEE
dfb2891fde
fix: forget to set the currQuiz if quiz is invalid 2021-06-22 17:52:12 +08:00
Riceball LEE
3a4f9df3da
feat: add clearAnswered func to Quizzes 2021-06-21 19:12:42 +08:00
Riceball LEE
f43a14e840
refact: extract the playAttrs from quizzes 2021-06-21 18:27:21 +08:00
Riceball LEE
0855e440fb
chore: add little comments 2021-06-21 14:46:36 +08:00
Riceball LEE
f25b930455
fix: disable skipAnswered not work 2021-06-21 11:37:58 +08:00
Riceball LEE
e4159851a8
fix: the skipAnswered config not work 2021-06-21 10:14:47 +08:00
Riceball LEE
5088a07168
chore: minor changed 2021-06-20 22:24:55 +08:00
Riceball LEE
a85fe81653
docs: minor comments added 2021-06-20 21:25:57 +08:00
Riceball LEE
4d25f0d1f2
fix(quizzes): check idletime if no answer and quiz 2021-06-18 22:18:46 +08:00
Riceball LEE
93b4600bda
fix(quizzes): convert the submited answer to proper type first 2021-06-18 17:45:16 +08:00
Riceball LEE
4940ee6902
first commit 2021-06-18 08:10:10 +08:00