File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11document . write ( '<script src="./js/jquery-3.6.1.js"></script>' ) ;
22document . write ( '<script src="./js/LocaleSwitch.js"></script>' ) ;
3+ document . write ( '<script src="../script.js"></script>' ) ;
34function English_Locale ( ) {
45 document . title = "Memory Card Game" ;
56 for ( var i = 0 ; i < 8 ; i ++ ) {
67 $ ( '#LocaleReq' + String ( i ) ) . jqmultilang ( 'en' ) ;
78 }
9+ if ( mathedCard === cardNum ) {
10+ end . innerHTML = "Finish" ;
11+ }
812}
913function Chinese_Locale ( ) {
1014 document . title = "記憶力翻牌小遊戲" ;
1115 for ( var i = 0 ; i < 8 ; i ++ ) {
1216 $ ( '#LocaleReq' + String ( i ) ) . jqmultilang ( 'zh-tw' ) ;
1317 }
18+ if ( mathedCard === cardNum ) {
19+ end . innerHTML = "已過關" ;
20+ }
1421}
1522function Japanese_Locale ( ) {
1623 document . title = "メモリカードゲーム" ;
1724 for ( var i = 0 ; i < 8 ; i ++ ) {
1825 $ ( '#LocaleReq' + String ( i ) ) . jqmultilang ( 'ja' ) ;
1926 }
27+ if ( mathedCard === cardNum ) {
28+ end . innerHTML = "ゲームクリア" ;
29+ }
2030}
You can’t perform that action at this time.
0 commit comments