diff --git a/README.md b/README.md index 42dae36..2204e61 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,32 @@ # CanvasGame -Simple canvas game using HTML,CSS,javaScript,jquery,Bootstrap. -## Author -Aadesh, Debarun + +GoblinGo, a JavaScript based multiplayer canvas game. In this game there are three characters present, player-one player-two and goblin. Goblin is the villain of this game. This game will continue for one minute. In this time, both players will try to kill the goblin and everytime goblin will appear in some new place. At the end of one minute which player would collect more scores ,he/she will be the winner. + +## Application Name +GoblinGo + +## Author: + +[Aadesh Nichite](https://github.com/AadeshNichite) + +[Debarun Mitra](https://github.com/DebarunMitra) + +## Technology Used: + +HTML,Canvas, CSS, JavaScript(ES6), Bootstrap + +## Objective: + +Create a GoblinGo game + +## Game Rules: + +#### 1) First set a player name. +#### 2) Click on to the start button and play. +#### 3) Timer runs for one minute. +#### 4) Player who score more will win. + +## Video: +[GoblinGo Video](images/GoblinGo.mp4) +## Visit: +[GoblinGO](https://aadeshnichite.github.io/CanvasGame/) diff --git a/css/style.css b/css/style.css index 591b558..17708ac 100644 --- a/css/style.css +++ b/css/style.css @@ -6,9 +6,27 @@ objective: Create a responsive game using HTML canvas, CSS, JavaScript, jQuery,B .pos-center { max-width: 1000px; - margin-left: 10%; + margin-left: 20%; } #cid { margin-left: -30%; } +.player-icon +{ + height: 40px; +} +.score +{ + margin-left: 25px; + color: red; + font-size: 40px; + font-weight: bold; +} +.winner +{ + margin-top: -70px; + font-size: 30px; + font-weight:bold; + color: #ffff00; +} diff --git a/index.html b/game.html similarity index 63% rename from index.html rename to game.html index 1635456..292a340 100644 --- a/index.html +++ b/game.html @@ -10,7 +10,6 @@ - @@ -18,30 +17,32 @@
player-1
+
+ player-1
Time:02:20
+Time:02:20
player-2
+
+ player-2
score-1
+Score: score-1
score-2
+Score: score-1