Commit Graph

122 Commits (master)

Author SHA1 Message Date
Riceball LEE 090216cf3a
chore: remove debug print 2022-08-28 09:05:00 +08:00
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 5224278ea5
build: update locale 2022-08-19 18:55:18 +08:00
Riceball LEE 5f094861d1
feat(chat_cmd): add left chat command to display left play time 2022-08-19 18:54:44 +08:00
Riceball LEE 4f65f3f705
feat: add resetGameTime func and refator huds, allAnswered and joinTime to session 2022-08-19 18:53:57 +08:00
Riceball LEE 84dfa1bb1e
feat: add noquiz privilege and restore quizAdmin to quiz now 2022-08-13 08:52:36 +08:00
Riceball LEE 7ef0c07e1a
fix: the display time of kickDelay error 2022-08-09 18:38:58 +08:00
Riceball LEE 3e6f07da23
fix: kick off error leftRestTime close 0 2022-08-09 15:48:12 +08:00
Riceball LEE 5ab928fe78
feat: add quizAdmin privilege 2022-08-08 10:59:43 +08:00
Riceball LEE d885b6dfe7
fix: trim space first 2022-08-08 10:59:03 +08:00
Riceball LEE 524a4c0789
fix: can not respawn player if player died when answering 2022-08-02 17:39:55 +08:00
Riceball LEE 6a5ed9fbe9
fix: should not merge quizzes in the config 2022-08-02 13:22:16 +08:00
Riceball LEE e41d2a5df2
feat(chatCmd): add defaultChatCmd to extend 2022-08-02 10:18:38 +08:00
Riceball LEE ef229b1a15
fix: add extra delay 1 minute if answer is correct. 2022-08-01 14:05:50 +08:00
Riceball LEE 5f46702ed9
feat: getSession argument can be a player object 2022-08-01 10:10:42 +08:00
Riceball LEE be457d2c24
refactor(chat_cmd): use exported isInvalidQuiz,loadConfig,saveConfig funcs 2022-07-31 09:57:45 +08:00
Riceball LEE 3c533d8deb
feat: export calcType,isInvalidQuiz,loadConfig,saveConfig funcs 2022-07-31 09:56:47 +08:00
Riceball LEE ddb080dec1
chore: remove unused variable 2022-07-31 09:54:54 +08:00
Riceball LEE 58c04cbd5f
fix: kickDelay should be minutes 2022-07-28 14:58:27 +08:00
Riceball LEE a2acb035b5
docs: update locale 2022-07-28 14:56:50 +08:00
Riceball LEE b40b124b6d
chore: remove unused variable 2022-07-28 14:21:02 +08:00
Riceball LEE 1476b0ad04
docs: update locale 2022-07-28 14:20:36 +08:00
Riceball LEE eb26ff95ac
feat: add log quiz to stats 2022-07-28 11:38:31 +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 3fec58b34c
chore: remove unused file 2022-07-28 10:49:31 +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 562abc0b0a
chore: add rest time to display 2022-07-21 17:48:59 +08:00
Riceball LEE a488765745
fix: do not update leavedTime if usedTime < 3min 2022-07-21 16:33:49 +08:00
Riceball LEE a550cd985c
fix: do not update leavedTime if usedTime < 3min 2022-07-21 16:33:31 +08:00
Riceball LEE 519d4692bd
fix: the usedTime should be last used time 2022-07-21 16:09:41 +08:00
Riceball LEE e3c02376d8
fix: forget to add the player challenge begins caption 2022-07-21 15:56:46 +08:00
Riceball LEE b21b7cd809
fix: Can't answer questions at the same time in multiplayer: only answer questions one by one 2022-07-20 21:38:32 +08:00
Riceball LEE 3c2139d4b5
docs: update readme 2022-07-20 14:09:51 +08:00
Riceball LEE c0b2ae57ef
fix(select): crash when multi-options array in answer 2022-07-20 14:09:38 +08:00
Riceball LEE 4d782eb2a4
fix: shuffle choose options can not work 2022-07-20 12:00:47 +08:00
Riceball LEE e513c4fa2b
feat(select): shuffle the multiple choice 2022-07-20 11:50:07 +08:00
Riceball LEE 82e136a4f0
test: add tests 2022-07-20 11:49:31 +08:00
Riceball LEE d58b5648dc
feat: add array shuffle func 2022-07-20 11:49:05 +08:00
Riceball LEE bd3e4294fe
feat: add multiple choice questions supported(`type: select`) 2022-07-19 15:51:55 +08:00
Riceball LEE dfe574ca84
feat: add isArrayEqu function 2022-07-19 15:46:34 +08:00
Riceball LEE 42e8e6bde7
docs: update readme 2022-07-18 20:34:21 +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 0b3300c70c
fix: can assign global variable again now(minetest@5.6) 2022-07-11 16:37:42 +08:00
Riceball LEE 54e99d1d79
build: add min_minetest_version 2021-09-02 10:28:25 +08:00
Riceball LEE ec19b0d12d
chore: remove debug print 2021-09-02 10:28:00 +08:00
Riceball LEE c7aa8de0c7
fix: the chat command /answer can not work 2021-08-26 21:27:17 +08:00