diff --git a/src/game/typing/test/game.js b/src/game/typing/test/game.js index dadfeba..b7174f3 100644 --- a/src/game/typing/test/game.js +++ b/src/game/typing/test/game.js @@ -184,22 +184,68 @@ class TypingTest { } loadTestContent() { + let appName = ""; + if(isTypingTestStage()) + appName = sessionStorageManager.playingAppName.substring(5); + else if(isTypingPracticeStage()) + appName = sessionStorageManager.playingAppName.substring(5); + else + appName = sessionStorageManager.playingAppName.substring(5); var testContent = []; - switch(sessionStorageManager.playingAppName) { - case "test_korean_word": - case "practice_korean_word": + switch(appName) { + case "korean_basic": + testContent = koreanBasicWordList; + break; + case "korean_left_upper": + testContent = koreanLeftUpperWordList; + break; + case "korean_second_finger": + testContent = koreanSecondFingerWordList; + break; + case "korean_right_upper": + testContent = koreanRightUpperWordList; + break; + case "korean_left_lower": + testContent = koreanLeftLowerWordList; + break; + case "korean_right_lower": + testContent = koreanRightLowerWordList; + break; + case "korean_left_upper_double": + testContent = koreanLeftUpperDoubleWordList; + break; + case "korean_right_upper_double": + testContent = koreanRightUpperDoubleWordList; + break; + case "korean_word": testContent = koreanWordList; break; - case "test_korean_sentence": - case "practice_korean_sentence": + case "korean_sentence": testContent = koreanSentenceList; break; - case "test_english_word": - case "practice_english_word": + + case "english_basic": + testContent = englishBasicWordList; + break; + case "english_left_upper": + testContent = englishLeftUpperWordList; + break; + case "english_second_finger": + testContent = englishSecondFingerWordList; + break; + case "english_right_upper": + testContent = englishRightUpperWordList; + break; + case "english_left_lower": + testContent = englishLeftLowerWordList; + break; + case "english_right_lower": + testContent = englishRightLowerWordList; + break; + case "english_word": testContent = englishWordList; break; - case "test_english_sentence": - case "practice_english_sentence": + case "english_sentence": testContent = englishSentenceList; break; } diff --git a/src/game/typing/word_list/english_second_finger.js b/src/game/typing/word_list/english_second_finger.js index 17472ab..15eff47 100644 --- a/src/game/typing/word_list/english_second_finger.js +++ b/src/game/typing/word_list/english_second_finger.js @@ -33,7 +33,6 @@ var englishSecondFingerWordList = [ "hard", "head", "great", - "send", "baby", "leg", "whether" diff --git a/src/web/client/test_english_basic.html b/src/web/client/test_english_basic.html new file mode 100644 index 0000000..3757d56 --- /dev/null +++ b/src/web/client/test_english_basic.html @@ -0,0 +1,80 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_english_left_lower.html b/src/web/client/test_english_left_lower.html new file mode 100644 index 0000000..5ec7f73 --- /dev/null +++ b/src/web/client/test_english_left_lower.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_english_left_upper.html b/src/web/client/test_english_left_upper.html new file mode 100644 index 0000000..9c627da --- /dev/null +++ b/src/web/client/test_english_left_upper.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_english_right_lower.html b/src/web/client/test_english_right_lower.html new file mode 100644 index 0000000..3694b60 --- /dev/null +++ b/src/web/client/test_english_right_lower.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_english_right_upper.html b/src/web/client/test_english_right_upper.html new file mode 100644 index 0000000..0184d63 --- /dev/null +++ b/src/web/client/test_english_right_upper.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_english_second_finger.html b/src/web/client/test_english_second_finger.html new file mode 100644 index 0000000..1812648 --- /dev/null +++ b/src/web/client/test_english_second_finger.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_basic.html b/src/web/client/test_korean_basic.html new file mode 100644 index 0000000..1f17a1b --- /dev/null +++ b/src/web/client/test_korean_basic.html @@ -0,0 +1,80 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_left_lower.html b/src/web/client/test_korean_left_lower.html new file mode 100644 index 0000000..e8c2d2a --- /dev/null +++ b/src/web/client/test_korean_left_lower.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_left_upper.html b/src/web/client/test_korean_left_upper.html new file mode 100644 index 0000000..0a9f84b --- /dev/null +++ b/src/web/client/test_korean_left_upper.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_left_upper_double.html b/src/web/client/test_korean_left_upper_double.html new file mode 100644 index 0000000..b0eb0e5 --- /dev/null +++ b/src/web/client/test_korean_left_upper_double.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_right_lower.html b/src/web/client/test_korean_right_lower.html new file mode 100644 index 0000000..1efe19d --- /dev/null +++ b/src/web/client/test_korean_right_lower.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_right_upper.html b/src/web/client/test_korean_right_upper.html new file mode 100644 index 0000000..707f1d5 --- /dev/null +++ b/src/web/client/test_korean_right_upper.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_right_upper_double.html b/src/web/client/test_korean_right_upper_double.html new file mode 100644 index 0000000..1dcf105 --- /dev/null +++ b/src/web/client/test_korean_right_upper_double.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_second_finger.html b/src/web/client/test_korean_second_finger.html new file mode 100644 index 0000000..b6ddf21 --- /dev/null +++ b/src/web/client/test_korean_second_finger.html @@ -0,0 +1,82 @@ + + + + + Typing Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/src/web/client/test_korean_sentence.html b/src/web/client/test_korean_sentence.html index dd07cc9..865d897 100644 --- a/src/web/client/test_korean_sentence.html +++ b/src/web/client/test_korean_sentence.html @@ -55,9 +55,9 @@ - +