-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
175 lines (167 loc) · 6.45 KB
/
index.html
File metadata and controls
175 lines (167 loc) · 6.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ReddGarden Prototype</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>ReddGarden Prototype</h1>
<div class="mission-panel">
<h2>Mission: Fair Crypto for Everyone</h2>
<p>
Open, honest, transparent gameplay. No hidden fees, no middlemen deductions,
community-first distribution, and optional charity contributions to spread RDD further.
</p>
</div>
<div class="scoreboard">
<div class="row">
<span class="label">ReddID:</span>
<span id="reddid">guest_user</span>
</div>
<div class="row">
<span class="label">Influence Points:</span>
<span id="points">0</span>
</div>
<div class="row energy-row">
<span class="label">Energy:</span>
<div class="energy-bar">
<div class="energy-fill" id="energy-fill"></div>
</div>
<span id="energy-text">10/10</span>
</div>
<div class="row">
<span class="label">Staked RDD:</span>
<span id="staked">0</span>
</div>
<div class="row">
<span class="label">Stake RDD:</span>
<button id="stake-button" class="stake-button">Stake 1 RDD</button>
</div>
<div class="row">
<span class="label">Wallet RDD:</span>
<span id="wallet-rdd">0</span>
</div>
<div class="row">
<span class="label">Claim:</span>
<button id="claim-button" class="claim-button">Claim RDD</button>
</div>
<div class="row">
<span class="label">Boosters:</span>
<button id="fertilizer-button" class="fertilizer-button">Fertilizer (50 pts)</button>
</div>
<div class="row">
<span class="label">Daily Bonus:</span>
<button id="daily-button" class="daily-button">Claim Bonus</button>
</div>
<div class="row">
<span class="label">Deposit:</span>
<button id="deposit-button" class="deposit-button">Show Address</button>
</div>
<div class="row">
<span class="label">Withdraw:</span>
<button id="withdraw-button" class="withdraw-button">Withdraw</button>
</div>
<div class="row">
<span class="label">Referral:</span>
<button id="referral-button" class="referral-button">Copy Link</button>
</div>
<div class="row">
<span class="label">Level:</span>
<span id="level">1</span>
</div>
<div class="row">
<span class="label">Referrals:</span>
<span id="referrals">0</span>
</div>
<div class="row">
<span class="label">Share:</span>
<button id="share-button" class="share-button">Share</button>
</div>
<div class="row">
<span class="label">Prestige Multiplier:</span>
<span id="prestige-multiplier">1x</span>
</div>
<div class="row">
<span class="label">Prestige:</span>
<button id="prestige-button" class="prestige-button">Prestige</button>
</div>
<div class="row">
<span class="label">Learn & Earn:</span>
<button id="learn-button" class="learn-button">Learn</button>
</div>
<div class="row">
<span class="label">Help:</span>
<button id="help-button" class="help-button">Help</button>
</div>
</div>
<div class="ethics-panel">
<h2>Transparency & Charity Ledger</h2>
<div class="ethics-grid">
<div class="metric-card">
<span class="metric-label">Protocol Fee</span>
<span id="protocol-fee" class="metric-value">0%</span>
</div>
<div class="metric-card">
<span class="metric-label">Total Claimed</span>
<span id="total-claimed" class="metric-value">0.00 RDD</span>
</div>
<div class="metric-card">
<span class="metric-label">To Players</span>
<span id="total-to-players" class="metric-value">0.00 RDD</span>
</div>
<div class="metric-card">
<span class="metric-label">Charity Vault</span>
<span id="charity-vault" class="metric-value">0.00 RDD</span>
</div>
</div>
<div class="charity-controls">
<label class="charity-label" for="charity-percent">Donate per claim</label>
<input type="range" id="charity-percent" min="0" max="50" step="5" value="10">
<span id="charity-percent-text">10%</span>
</div>
<div class="charity-actions">
<button id="grant-button" class="grant-button">Send 1 RDD Grant from Vault</button>
<button id="report-button" class="report-button">Export Transparency Report</button>
</div>
<ul id="ledger-list" class="ledger-list"></ul>
</div>
<div class="achievements">
<h2>Achievements</h2>
<ul id="achievements-list"></ul>
</div>
<div class="garden">
<img src="assets/plant.png" alt="Plant" id="plant-image">
<button id="tap-button" class="tap-button">Water Plant</button>
</div>
<div class="info">
<p id="message">Tap the plant to earn Influence Points!</p>
</div>
<div id="learn-modal" class="modal hidden">
<div class="modal-content">
<h3>Learn & Earn</h3>
<p id="learn-question"></p>
<div id="learn-options" class="learn-options"></div>
<button id="learn-close" class="modal-close">Close</button>
</div>
</div>
<div id="help-modal" class="modal hidden">
<div class="modal-content">
<h3>Help & Info</h3>
<div id="help-content" class="help-content">
<p><strong>How to Play:</strong> Tap to earn Influence Points. Energy regenerates over time.</p>
<p><strong>Claiming:</strong> Every 1,000 points converts to 1 RDD with a protocol fee of <strong>0%</strong>.</p>
<p><strong>Charity Mode:</strong> Choose your donation percentage per claim to fund community grants.</p>
<p><strong>Transparency:</strong> Every economic action is logged in the on-screen ledger and exportable as JSON.</p>
<p><strong>Staking:</strong> Stake from your wallet balance to boost points per tap.</p>
<p><strong>Prestige:</strong> Reset progress at 10,000 points for a permanent multiplier increase.</p>
</div>
<button id="help-close" class="modal-close">Close</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>