From 89540f11711bf0ba3168b1bf87f1f42b48660f3b Mon Sep 17 00:00:00 2001 From: yujiacong <1016029365@qq.com> Date: Wed, 6 Aug 2025 18:59:37 +0800 Subject: [PATCH] =?UTF-8?q?ludo=E8=A7=84=E5=88=99=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/eparty/modules/rule/local/ar.js | 18 +++++++ view/eparty/modules/rule/local/en.js | 18 +++++++ view/eparty/modules/rule/local/tr.js | 18 +++++++ view/eparty/modules/rule/local/zh.js | 18 +++++++ view/eparty/modules/rule/ludoRule.html | 52 ++++++++++++++++++++ view/eparty/modules/rule/style/ludoRule.css | 24 +++++++++ view/eparty/modules/rule/style/ludoRule.scss | 31 ++++++++++++ 7 files changed, 179 insertions(+) create mode 100644 view/eparty/modules/rule/style/ludoRule.css create mode 100644 view/eparty/modules/rule/style/ludoRule.scss diff --git a/view/eparty/modules/rule/local/ar.js b/view/eparty/modules/rule/local/ar.js index f0afaba..c061459 100644 --- a/view/eparty/modules/rule/local/ar.js +++ b/view/eparty/modules/rule/local/ar.js @@ -2406,5 +2406,23 @@ langAr = { text4: `هذا الحدث ومكافآته غير مرتبطين بشركة Google/Apple.`, text5: `تحطيم البيض السعيد`, text6: `بئر الأمنيات الخيالي (مفتوح لفترة محدودة)`, + }, + ludo_rule:{ + ludo_rule_txt: ` +
  • +

    الإقلاع من القاعدة

    +

    رمي النرد للبدء باللعبة، والحصول على رمي إضافي؛ إذا حصلت على 6 ثلاث مرات متتالية، ينتهي الجولة.

    +
  • +
  • +

    الفوز باللعبة

    +

    يتطلب الوضع الكلاسيكي وصول 4 قطع إلى النهاية للفوز.

    +
  • +
  • +

    العناصر المساعدة في اللعبة

    +

    1. اللاعبون الذين يحصلون على "النرد الذهبي" يجب أن يرموا 6.

    +

    2. اللاعبون الذين يحصلون على "المغناطيس" يمكنهم التقدم 8 خطوات حتى يعوقهم الآخرون.

    +

    3. اللاعبون الذين يحصلون على "القنبلة" يمكنهم تفجير 8 خطوات، مما يؤدي إلى إزالة الخصم إلى القاعدة.

    +
  • + `, } } \ No newline at end of file diff --git a/view/eparty/modules/rule/local/en.js b/view/eparty/modules/rule/local/en.js index b911a55..3c8a839 100644 --- a/view/eparty/modules/rule/local/en.js +++ b/view/eparty/modules/rule/local/en.js @@ -2415,5 +2415,23 @@ langEn = { text4: `This event and its rewards are not associated with Google/Apple Inc.`, text5: `Happy Egg Smash`, text6: `Fantasy Wishing Well (Limited Time Open)`, + }, + ludo_rule:{ + ludo_rule_txt: ` +
  • +

    Take off from the base

    +

    Throw 6 to start, and get 1 extra throw; if you throw 6 three times in a row, the round ends.

    +
  • +
  • +

    Win the game

    +

    Classic mode requires 4 pieces to reach the end to win.

    +
  • +
  • +

    Game props

    +

    1. Players who earn 'gold dice' must throw 6.

    +

    2. Players who earn the 'magnet' can advance 8 steps until blocked by others.

    +

    3. Players who earn the 'bomb' can bomb 8 steps, eliminating the opponent back to the base.

    +
  • + `, } } \ No newline at end of file diff --git a/view/eparty/modules/rule/local/tr.js b/view/eparty/modules/rule/local/tr.js index 8cf3477..1c5ab9c 100644 --- a/view/eparty/modules/rule/local/tr.js +++ b/view/eparty/modules/rule/local/tr.js @@ -2415,5 +2415,23 @@ langEn = { text4: `This event and its rewards are not associated with Google/Apple Inc.`, text5: `Happy Egg Smash`, text6: `Fantasy Wishing Well (Limited Time Open)`, + }, + ludo_rule:{ + ludo_rule_txt: ` +
  • +

    Take off from the base

    +

    Throw 6 to start, and get 1 extra throw; if you throw 6 three times in a row, the round ends.

    +
  • +
  • +

    Win the game

    +

    Classic mode requires 4 pieces to reach the end to win.

    +
  • +
  • +

    Game props

    +

    1. Players who earn 'gold dice' must throw 6.

    +

    2. Players who earn the 'magnet' can advance 8 steps until blocked by others.

    +

    3. Players who earn the 'bomb' can bomb 8 steps, eliminating the opponent back to the base.

    +
  • + `, } } \ No newline at end of file diff --git a/view/eparty/modules/rule/local/zh.js b/view/eparty/modules/rule/local/zh.js index 6f2ffbd..e0a85b3 100644 --- a/view/eparty/modules/rule/local/zh.js +++ b/view/eparty/modules/rule/local/zh.js @@ -2408,5 +2408,23 @@ langZh = { text4: `本活動以及活動獎勵與Google/蘋果公司無關。`, text5: `歡樂砸蛋`, text6: `梦幻许愿池(限时开放)`, + }, + ludo_rule:{ + ludo_rule_txt:` +
  • +

    從基地出發

    +

    投擲6開始出發,併獎勵1次額外的投擲,如果連續3次投擲6,則本輪結束

    +
  • +
  • +

    贏得比賽

    +

    經典模式需要4枚棋子達到終點才能獲勝

    +
  • +
  • +

    遊戲道具

    +

    1.赢得“金色骰子”的玩家必須投擲6。

    +

    2.赢得“磁鐵”的玩家可以嚮前進8步,直到被其他玩家阻擋。

    +

    3.赢得“炸彈”的玩家可以炸掉8步,將對手消減併送回基地。

    +
  • `, } + } \ No newline at end of file diff --git a/view/eparty/modules/rule/ludoRule.html b/view/eparty/modules/rule/ludoRule.html index e69de29..5a263cd 100644 --- a/view/eparty/modules/rule/ludoRule.html +++ b/view/eparty/modules/rule/ludoRule.html @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/view/eparty/modules/rule/style/ludoRule.css b/view/eparty/modules/rule/style/ludoRule.css new file mode 100644 index 0000000..1de6ae2 --- /dev/null +++ b/view/eparty/modules/rule/style/ludoRule.css @@ -0,0 +1,24 @@ +html, +body { + width: 100%; +} + +ul { + width: 10rem; + margin: 0 auto 0; + box-sizing: border-box; + padding: 0.4rem 0.4rem; +} +ul h3 { + font-weight: bold; + font-size: 0.4rem; + color: #313131; + margin-bottom: 0.2666666667rem; + margin-top: 0.4rem; +} +ul p { + color: #6E8485; + font-size: 0.32rem; + margin-bottom: 0.1333333333rem; + line-height: 0.4rem; +} \ No newline at end of file diff --git a/view/eparty/modules/rule/style/ludoRule.scss b/view/eparty/modules/rule/style/ludoRule.scss new file mode 100644 index 0000000..c02683d --- /dev/null +++ b/view/eparty/modules/rule/style/ludoRule.scss @@ -0,0 +1,31 @@ +@function px2rem($px) { + @return $px / 75+rem; +} + +html, +body { + width: 100%; + // background: #E7FEFF; +} + +ul { + width: px2rem(750); + margin: 0 auto 0; + box-sizing: border-box; + padding: px2rem(30) px2rem(30); + + h3 { + font-weight: bold; + font-size: px2rem(30); + color: #313131; + margin-bottom: px2rem(20); + margin-top: px2rem(30); + } + + p { + color: #6E8485; + font-size: px2rem(24); + margin-bottom: px2rem(10); + line-height: 0.4rem; + } +} \ No newline at end of file