Skip to content

Commit 6b665e2

Browse files
Merge pull request #136 from Hrishikesh-Dalal/main
Orbit Added
2 parents 5604102 + 09ef2d6 commit 6b665e2

File tree

4 files changed

+522
-8
lines changed

4 files changed

+522
-8
lines changed

data/projects.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,6 @@
207207
"categoryKey": "games",
208208
"difficulty": "easy"
209209
},
210-
{
211-
"title": "Contributors Page",
212-
"slug": "contributor",
213-
"description": "See the contributions of people",
214-
"category": "contributor",
215-
"categoryKey": "contributor",
216-
"difficulty": "easy"
217-
},
218210
{
219211

220212
"title": "Tip Calculator",
@@ -233,5 +225,21 @@
233225
"categoryKey": "games",
234226
"difficulty": "medium"
235227

228+
},
229+
{
230+
"title": "Orbit Game",
231+
"slug": "orbit",
232+
"description": "Collect the stars while avoiding the planets in this fun orbit game.",
233+
"category": "Small Games",
234+
"categoryKey": "games",
235+
"difficulty": "easy"
236+
},
237+
{
238+
"title": "Contributors Page",
239+
"slug": "contributor",
240+
"description": "See the contributions of people",
241+
"category": "contributor",
242+
"categoryKey": "contributor",
243+
"difficulty": "easy"
236244
}
237245
]

projects/orbit/index.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width,initial-scale=1" />
6+
<title>Orbit Collector</title>
7+
<link rel="stylesheet" href="styles.css" />
8+
</head>
9+
<body>
10+
<div id="ui">
11+
<div id="score">Score: 0</div>
12+
<div id="level">Level: 1</div>
13+
<div id="lives">Lives: 3</div>
14+
<div id="target">Target: <span id="targetColorName"></span></div>
15+
<button id="restart">Restart</button>
16+
</div>
17+
18+
<canvas id="game"></canvas>
19+
20+
<script src="script.js"></script>
21+
</body>
22+
</html>

0 commit comments

Comments
 (0)