-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from SimranLahrani842/simmi
added planet defense game
- Loading branch information
Showing
5 changed files
with
491 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# _Game_Name_ | ||
|
||
--- | ||
|
||
Planet Defense | ||
|
||
<br> | ||
|
||
## _Description 📃_ | ||
|
||
- Planet Earth needs to be protected. | ||
- There is a gun with planet. | ||
- Gun is used to attack stones or meteroids hitting the planet. | ||
- Score increases if you hit the meteroids. | ||
- Game ends if any one touches the earth. | ||
|
||
## _functionalities 🎮_ | ||
|
||
- Stones come from all directions that is 360 degrees. | ||
- Gun can rotate 360 degree to hit the stone. | ||
- To hit with gun just press to hit the stones. | ||
- The stones are of different size and can be alone or with many. | ||
- Game can also be started again if you want. | ||
|
||
<br> | ||
|
||
## _How to play? 🕹️_ | ||
|
||
- Gun can rotate 360 degree to hit the stone. | ||
- To hit with gun just press to hit the stones. | ||
- the stone size varies so we need to hit them all. | ||
|
||
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<head> | ||
<link href="style.css" /> | ||
</head> | ||
<body style="background-image: url('space.jpg');"> | ||
<canvas id="canvas"></canvas> | ||
<script src="script.js"></script> | ||
</body> |
Oops, something went wrong.