diff --git a/common/api.js b/common/api.js
index 8c79cf0..a063199 100644
--- a/common/api.js
+++ b/common/api.js
@@ -746,6 +746,20 @@ var default_api = 'https://api.global-interaction.com/';
body: payload || {},
});
},
+ create: function (payload) {
+ return request('/api/v1/games/rps/matches', {
+ method: 'POST',
+ body: payload || {},
+ });
+ },
+ join: function (matchID, payload) {
+ return request(
+ '/api/v1/games/rps/matches/' +
+ encodeURIComponent(matchID || '') +
+ '/join',
+ { method: 'POST', body: payload || {} }
+ );
+ },
getMatch: function (matchID) {
return request(
'/api/v1/games/rps/matches/' +
diff --git a/cp-rules/assets/back.svg b/cp-rules/assets/back.svg
new file mode 100644
index 0000000..d2935f3
--- /dev/null
+++ b/cp-rules/assets/back.svg
@@ -0,0 +1,9 @@
+
diff --git a/cp-rules/assets/battery.svg b/cp-rules/assets/battery.svg
new file mode 100644
index 0000000..15c113d
--- /dev/null
+++ b/cp-rules/assets/battery.svg
@@ -0,0 +1,7 @@
+
diff --git a/cp-rules/assets/cellular.svg b/cp-rules/assets/cellular.svg
new file mode 100644
index 0000000..a58f453
--- /dev/null
+++ b/cp-rules/assets/cellular.svg
@@ -0,0 +1,3 @@
+
diff --git a/cp-rules/assets/gift-panel.png b/cp-rules/assets/gift-panel.png
new file mode 100644
index 0000000..7562e5c
Binary files /dev/null and b/cp-rules/assets/gift-panel.png differ
diff --git a/cp-rules/assets/gift-room.png b/cp-rules/assets/gift-room.png
new file mode 100644
index 0000000..6e7cfed
Binary files /dev/null and b/cp-rules/assets/gift-room.png differ
diff --git a/cp-rules/assets/invitation.png b/cp-rules/assets/invitation.png
new file mode 100644
index 0000000..d2daf02
Binary files /dev/null and b/cp-rules/assets/invitation.png differ
diff --git a/cp-rules/assets/note-bg-main.png b/cp-rules/assets/note-bg-main.png
new file mode 100644
index 0000000..5ae89b6
Binary files /dev/null and b/cp-rules/assets/note-bg-main.png differ
diff --git a/cp-rules/assets/panel-bottom.png b/cp-rules/assets/panel-bottom.png
new file mode 100644
index 0000000..763a94d
Binary files /dev/null and b/cp-rules/assets/panel-bottom.png differ
diff --git a/cp-rules/assets/panel-mid.png b/cp-rules/assets/panel-mid.png
new file mode 100644
index 0000000..6958eb7
Binary files /dev/null and b/cp-rules/assets/panel-mid.png differ
diff --git a/cp-rules/assets/panel-top.png b/cp-rules/assets/panel-top.png
new file mode 100644
index 0000000..9d9820c
Binary files /dev/null and b/cp-rules/assets/panel-top.png differ
diff --git a/cp-rules/assets/rights-bg.png b/cp-rules/assets/rights-bg.png
new file mode 100644
index 0000000..5ae89b6
Binary files /dev/null and b/cp-rules/assets/rights-bg.png differ
diff --git a/cp-rules/assets/rights-column.svg b/cp-rules/assets/rights-column.svg
new file mode 100644
index 0000000..d312e08
--- /dev/null
+++ b/cp-rules/assets/rights-column.svg
@@ -0,0 +1,3 @@
+
diff --git a/cp-rules/assets/rights-vip1.png b/cp-rules/assets/rights-vip1.png
new file mode 100644
index 0000000..2d1a74c
Binary files /dev/null and b/cp-rules/assets/rights-vip1.png differ
diff --git a/cp-rules/assets/rights-vip2.png b/cp-rules/assets/rights-vip2.png
new file mode 100644
index 0000000..4350e65
Binary files /dev/null and b/cp-rules/assets/rights-vip2.png differ
diff --git a/cp-rules/assets/scrolled-bg.png b/cp-rules/assets/scrolled-bg.png
new file mode 100644
index 0000000..5ae89b6
Binary files /dev/null and b/cp-rules/assets/scrolled-bg.png differ
diff --git a/cp-rules/assets/status-frame.svg b/cp-rules/assets/status-frame.svg
new file mode 100644
index 0000000..4755da3
--- /dev/null
+++ b/cp-rules/assets/status-frame.svg
@@ -0,0 +1,3 @@
+
diff --git a/cp-rules/assets/tab-selected-note.png b/cp-rules/assets/tab-selected-note.png
new file mode 100644
index 0000000..1e9355e
Binary files /dev/null and b/cp-rules/assets/tab-selected-note.png differ
diff --git a/cp-rules/assets/tab-selected-rights.png b/cp-rules/assets/tab-selected-rights.png
new file mode 100644
index 0000000..1e9355e
Binary files /dev/null and b/cp-rules/assets/tab-selected-rights.png differ
diff --git a/cp-rules/assets/tab-unselected-note.png b/cp-rules/assets/tab-unselected-note.png
new file mode 100644
index 0000000..9d10b20
Binary files /dev/null and b/cp-rules/assets/tab-unselected-note.png differ
diff --git a/cp-rules/assets/tab-unselected-rights.png b/cp-rules/assets/tab-unselected-rights.png
new file mode 100644
index 0000000..9d10b20
Binary files /dev/null and b/cp-rules/assets/tab-unselected-rights.png differ
diff --git a/cp-rules/assets/title-divider.png b/cp-rules/assets/title-divider.png
new file mode 100644
index 0000000..b6b720f
Binary files /dev/null and b/cp-rules/assets/title-divider.png differ
diff --git a/cp-rules/assets/wifi.svg b/cp-rules/assets/wifi.svg
new file mode 100644
index 0000000..e5802d2
--- /dev/null
+++ b/cp-rules/assets/wifi.svg
@@ -0,0 +1,3 @@
+
diff --git a/cp-rules/index.html b/cp-rules/index.html
new file mode 100644
index 0000000..fd7c61c
--- /dev/null
+++ b/cp-rules/index.html
@@ -0,0 +1,367 @@
+
+
+
+
+
+ Gifts for Close Friends
+
+
+
+
+
+
+
+
+
+
+ 9:41
+
+
+
+
+
+
+
+
Gifts For Close Friends
+
+
+
+
+
+
+
+
+
+
+
+ What is a close friendship?
+
+
+ The “Best Friends” feature is a brand-new
+ interactive way to celebrate close relationships
+ between users. By sending gifts to someone and
+ requesting to become best friends, you can form a
+ best friend connection once they accept.
+
+
+ ‘CP’ connections can only be formed between a man
+ and a woman, while “brother” and “sister”
+ connections have no gender restrictions.
+
+
+
+
+
+
+
+
+
+ How to Form Relationships?
+
+
+ Request for a Gift Panel in a Group Chat Room
+
+
+ 1. In the room, tap [Gift Panel] > select [Best
+ Friends];
+
+
+
+
+
+ 2. Choose a gift tailored to a specific type of
+ close friend; once you send it, a friend request
+ will be automatically sent;
+
+
+
+
+
+ 3. The other party must accept the match within 24
+ hours;
+
+
+
+
+
+ *If the other party does not respond within 24 hours
+ of the request being sent, the connection will be
+ automatically declined.
+
+
+
+
+
+
+
+
+
+ Intimacy Level
+
+
+ Intimacy Points are a numerical representation of
+ the level of closeness between two players. 1 Gold
+ Coin equals 1 Intimacy Point, and you can increase
+ your Intimacy Points by sending gifts to your best
+ friend every day.
+
+
+
+
+
+
+
+
+
FAQ
+
+
+ Q1: Does giving someone a regular gift increase
+ intimacy?
+
+
No increase.
+
+ Q2: Is there a limit to the number of
+ relationships?
+
+
+ You can only have one CP, and a maximum of three
+ brothers or sisters. More slots will be added in
+ the future.
+
+
+ Q3: Who can I invite to be a CP?
+
+
+ As long as neither party has a CP, you can send
+ a CP gift to extend a relationship invitation.
+
+
+ Q4: If my application is denied, will the Best
+ Friend Gift be refunded?
+
+
+ Experience points are awarded the moment the
+ gift is sent. If the request expires or is
+ rejected, the gift will not be returned.
+
+
+ Q5: Can the termination of the relationship be
+ reversed?
+
+
+ Once the relationship is dissolved, all rights
+ and interests will be reclaimed by the platform.
+ The action cannot be undone; the relationship
+ can only be reestablished.
+
+ 1. Players who correctly predict the winner
+ will receive coins.
+
+
+ 2. The ranking of card values is:6 > 5 > 4
+ > 3 > 2
+ > 1. The player with the higher card wins;
+ if
+ the cards are of equal value, it is a tie.
+
+
+ 3. The winner of each game pays a 5%
+ transaction fee.
+
+
+ 4. This game is provided by the Lalu Party
+ app. Google Play is not a sponsor and is not
+ involved in this activity in any way.
+