Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,10 +12,17 @@ def create_idiom_game():
|
|
12 |
<script src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
|
13 |
<script>
|
14 |
const idiomDatabase = [
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
function IdiomGame() {
|
21 |
const [currentIndex, setCurrentIndex] = React.useState(0);
|
|
|
12 |
<script src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
|
13 |
<script>
|
14 |
const idiomDatabase = [
|
15 |
+
{ mainIdiom: '急如星火', synonyms: ['迫在眉睫', '刻不容緩'], meaning: '形容事情非常緊急' },
|
16 |
+
{ mainIdiom: '一葉知秋', synonyms: ['見微知著', '月暈而風'], meaning: '從小徵兆可以預見未來的發展' },
|
17 |
+
{ mainIdiom: '一丘之貉', synonyms: ['沆瀣一氣', '狐群狗黨'], meaning: '形容品性相同的壞人' },
|
18 |
+
{ mainIdiom: '一蹴可幾', synonyms: ['一步登天', '唾手可得'], meaning: '一下子就能達到目的' },
|
19 |
+
{ mainIdiom: '一暴十寒', synonyms: ['兩天打魚,三天曬網', '虎頭蛇尾'], meaning: '形容學習或做事不能持之以恆' },
|
20 |
+
{ mainIdiom: '環堵蕭然', synonyms: ['一貧如洗', '家徒四壁'], meaning: '形容生活很貧困' },
|
21 |
+
{ mainIdiom: '一字千金', synonyms: ['字字珠璣', '文不加點'], meaning: '形容文章寫得好,文字珍貴' },
|
22 |
+
{ mainIdiom: '一擲千金', synonyms: ['揮金如土', '揮霍無度'], meaning: '形容揮霍錢財' },
|
23 |
+
{ mainIdiom: '生靈塗炭', synonyms: ['民不聊生', '民生凋敝'], meaning: '形容人民生活困苦' },
|
24 |
+
{ mainIdiom: '瓜熟蒂落', synonyms: ['水到渠成', '順理成章'], meaning: '形容事情自然成功' }
|
25 |
+
];
|
26 |
|
27 |
function IdiomGame() {
|
28 |
const [currentIndex, setCurrentIndex] = React.useState(0);
|