From 027fd1ab95460319c7901d14bcc5b3fb68accd3f Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+Harsh778@users.noreply.github.com> Date: Sat, 18 Apr 2020 17:54:06 +0530 Subject: [PATCH 01/26] Add MIT License --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f8ce4ad --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Harsh Vardhan Singhal + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 9d2c44ba5ea54d1c8d010853ba3a386f468ad2a9 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+Harsh778@users.noreply.github.com> Date: Fri, 1 May 2020 23:16:44 +0530 Subject: [PATCH 02/26] Update styles.css Remove comments on style. General styling. --- styles.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/styles.css b/styles.css index 9266f40..c061cbd 100644 --- a/styles.css +++ b/styles.css @@ -69,7 +69,7 @@ a { } div { - -webkit-user-select: none; /* Safari */ - -ms-user-select: none; /* IE 10+ and Edge */ - user-select: none; /* Standard syntax */ + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; } From 48273ba9b8df17745a02335b1dd8775bc4ded326 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+Harsh778@users.noreply.github.com> Date: Fri, 1 May 2020 23:19:08 +0530 Subject: [PATCH 03/26] Remove comments. General styling. --- styles.css | 1 - 1 file changed, 1 deletion(-) diff --git a/styles.css b/styles.css index c061cbd..8895674 100644 --- a/styles.css +++ b/styles.css @@ -67,7 +67,6 @@ a { text-decoration: none; color: orange; } - div { -webkit-user-select: none; -ms-user-select: none; From cf046731a99b25fa66032382f880f70305aa409b Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Thu, 28 May 2020 19:42:18 +0530 Subject: [PATCH 04/26] Change Portfolio Link --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index c823060..924815d 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@

Press Any Key to Start

From dde2e120c9d277533dd4f9493e9a1357d6253119 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 30 May 2020 15:07:44 +0530 Subject: [PATCH 05/26] Delete .DS_Store --- .DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 2814ac6db1cdf41df8f08792cd025ce757f9fb09..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKI}XAy47C9vBo;=-T!9-z2u{ES5OhRzsMtGkE{?|YX8;v87(maG^Ag7|QQlD3 zBBJX{vl3Z|$P8{MR~v?A`{n~1Wki8+oY6?vbjQ=7ZBK*j*8$^BrIS`Ja(?9728{|( z0V+TRr~noCxB^*XXY-Gr%mb+a75H@p?E6sQhBdJd^iKx{ZvlW4gxxUrUIJJw0IZ39 zAR;ggDln*;Ertdi@sfEpu@4NoXf_|3H*0n%>bK+k;_0F_kRuhK0?!JJW4W;UzlFc) z|DQ=*Q2{FOR|@E4v)iokq^zxj$62i{@IBmeZg4Zqor1y3G0@8~7FLdzo)me-=Gd=^ UeW243cRG+i1Evd&3Vd6EJI%EftN;K2 From ed2e22a662b49107a7d1f650b5d9df6520dfbf6d Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Fri, 7 Aug 2020 12:44:10 +0530 Subject: [PATCH 06/26] add default zoom --- styles.css | 1 + 1 file changed, 1 insertion(+) diff --git a/styles.css b/styles.css index 8895674..b858909 100644 --- a/styles.css +++ b/styles.css @@ -1,6 +1,7 @@ body { text-align: center; background-color: #011F3F; + zoom: 67%; } #title { From a4281808fa0d1a9796b75fd512b467e2df783457 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 19:40:20 +0530 Subject: [PATCH 07/26] chck --- rules.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rules.html diff --git a/rules.html b/rules.html new file mode 100644 index 0000000..1890723 --- /dev/null +++ b/rules.html @@ -0,0 +1,14 @@ + + + + + + Rules/title> + <link rel="stylesheet" href="styles.css"> + </head> + <body> + <h1 id="title">Rules for Simon Game</h1> + <p> + 1. Press any letter on your keyboard to start the game. + <br></br> + 2. Remember the color(red, green, blue, yellow) shown and replicate it. You must remember the pattern till the end of the game. From 888e2d3f1403051936adbe9654a8cba2d516897d Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 19:43:11 +0530 Subject: [PATCH 08/26] syntax error fix --- rules.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.html b/rules.html index 1890723..e9484f2 100644 --- a/rules.html +++ b/rules.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> - <title>Rules/title> + <title>Rules From 599af2e6ce1bbc4e45d827065efb6c7861f27a41 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 19:50:03 +0530 Subject: [PATCH 09/26] Update rules.html --- rules.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.html b/rules.html index e9484f2..4378282 100644 --- a/rules.html +++ b/rules.html @@ -5,10 +5,12 @@ Rules + +

Rules for Simon Game

-

+

1. Press any letter on your keyboard to start the game.

2. Remember the color(red, green, blue, yellow) shown and replicate it. You must remember the pattern till the end of the game. From a08aed946f25d94d017be6a04411d52f304e11eb Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 20:08:26 +0530 Subject: [PATCH 10/26] Update index.html --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 924815d..6650bc6 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@

Simon Game

+ Rules

Press Any Key to Start

From 24a7167acbb151f4599189f476e7cb7d44e2da7d Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 20:12:00 +0530 Subject: [PATCH 11/26] add rules button --- styles.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/styles.css b/styles.css index b858909..96f695a 100644 --- a/styles.css +++ b/styles.css @@ -3,6 +3,27 @@ body { background-color: #011F3F; zoom: 67%; } +.button { + background-color:#44c767; + border-radius:25px; + border:4px solid #18ab29; + display:inline-block; + cursor:pointer; + color:#ffffff; + font-family:Arial; + font-size:17px; + padding:15px 24px; + text-decoration:none; + text-shadow:0px 1px 0px #2f6627; +} +.button:hover { + background-color:#5cbf2a; +} +.button:active { + position:relative; + top:1px; +} + #title { font-family: 'Oswald', sans-serif; From b6691af4a0c1ea831eb115b62931b09fc72df499 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 20:12:41 +0530 Subject: [PATCH 12/26] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6650bc6..158574f 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@

Simon Game

- Rules + Rules

Press Any Key to Start

From ac0e14c2112134637a0d0a3ed959ba0be9b83020 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 20:16:39 +0530 Subject: [PATCH 13/26] Update styles.css --- styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 96f695a..f6f47a0 100644 --- a/styles.css +++ b/styles.css @@ -11,7 +11,7 @@ body { cursor:pointer; color:#ffffff; font-family:Arial; - font-size:17px; + font-size:22px; padding:15px 24px; text-decoration:none; text-shadow:0px 1px 0px #2f6627; From a743884b28fc1f22a862b4ef039b60a87ef1c357 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sat, 5 Sep 2020 22:09:47 +0530 Subject: [PATCH 14/26] add some logs --- game.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game.js b/game.js index 467b581..5d53e3d 100644 --- a/game.js +++ b/game.js @@ -77,3 +77,6 @@ function startOver() { gamePattern = []; started = false; } +console.log("All logs in!") +console.log("Shell assets successfully launched") +console.log("Enjoy the game :D") From 02347208d12a13b123551fa7e3432a01033008da Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Thu, 10 Sep 2020 11:48:34 +0530 Subject: [PATCH 15/26] Update styles.css --- styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/styles.css b/styles.css index f6f47a0..1131f8e 100644 --- a/styles.css +++ b/styles.css @@ -94,3 +94,6 @@ div { -ms-user-select: none; user-select: none; } +.rules-text { + color: beige; + font-size: 29px; From ff7d2ba5e94757ba4a8f463e63be2a7971f3c657 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Thu, 10 Sep 2020 11:56:00 +0530 Subject: [PATCH 16/26] Update styles.css --- styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 1131f8e..e7a78be 100644 --- a/styles.css +++ b/styles.css @@ -94,6 +94,6 @@ div { -ms-user-select: none; user-select: none; } -.rules-text { +#rules-text { color: beige; font-size: 29px; From 7c8ca0605cca057c0bd78279b284fcfec69583fa Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 21:44:35 +0530 Subject: [PATCH 17/26] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 3e228d4..65e38b5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # Simon-Game -https://harsh778.github.io/Simon-Game/. Simon Game now in your browser. A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:) From 9e825b35a2a11fc238cb0997710a2c3ea429b84e Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 22:26:39 +0530 Subject: [PATCH 18/26] add demo simon --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65e38b5..3f80e65 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Simon Game now in your browser. A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:) - Instructions: +Demo Game +![Simon Game Demo](https://i.imgur.com/r98Ftze.gif) + + + How to Play: 1. Press any letter on your keyboard to start the game. 2. Remember the color(red, green, blue, yellow) shown and replicate it. You must remember the pattern till the end of the game. From aed38d13732b0aa41e20fda11463eaedef09c373 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 22:27:32 +0530 Subject: [PATCH 19/26] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f80e65..ebbdc62 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # Simon-Game Simon Game now in your browser. A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:) - -Demo Game +#Demo Game ![Simon Game Demo](https://i.imgur.com/r98Ftze.gif) From ae051baece0d9efe4bcccc85a5509fd3bc587055 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 22:27:58 +0530 Subject: [PATCH 20/26] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ebbdc62..cc76175 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Simon-Game Simon Game now in your browser. -A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:) -#Demo Game +A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:)

![Simon Game Demo](https://i.imgur.com/r98Ftze.gif) From bd30c29fa06857bd6b33da3ae6c44f73fd157a88 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 22:30:15 +0530 Subject: [PATCH 21/26] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc76175..32a5a29 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # Simon-Game Simon Game now in your browser. A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:)

-![Simon Game Demo](https://i.imgur.com/r98Ftze.gif) +

+ Demo Simon Game +

How to Play: From 449547276e09ed54c9a47dcd4e5662bceff51702 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 22:31:29 +0530 Subject: [PATCH 22/26] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 32a5a29..7353321 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Simon-Game Simon Game now in your browser. A very basic memory game. Feel free to drop any suggestions. I hope that you will like it:)

+ +# Demo

Demo Simon Game

From b03e9d0e05669f4d57515ac865d7f3b3bde27eda Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 20 Sep 2020 22:32:01 +0530 Subject: [PATCH 23/26] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7353321..43e5bf5 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,6 @@ A very basic memory game. Feel free to drop any suggestions. I hope that you wil

- How to Play: - 1. Press any letter on your keyboard to start the game. - 2. Remember the color(red, green, blue, yellow) shown and replicate it. You must remember the pattern till the end of the game. +# How to Play: +1. Press any letter on your keyboard to start the game. +2. Remember the color(red, green, blue, yellow) shown and replicate it. You must remember the pattern till the end of the game. From b7efaa66796dd1fda921e351c9ff0bcbeb1b9042 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 18 Oct 2020 17:01:46 +0530 Subject: [PATCH 24/26] yo --- .github/workflows/greetings.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..28ee6b2 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,13 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Message that will be displayed on users'' first issue' + pr-message: 'Message that will be displayed on users'' first pr' From b3aa6c885705f690402b0fa7a97f5ba9de0b9440 Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Sun, 18 Oct 2020 17:03:02 +0530 Subject: [PATCH 25/26] Update greetings.yml --- .github/workflows/greetings.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 28ee6b2..3d5c0b8 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,5 +1,6 @@ name: Greetings + on: [pull_request, issues] jobs: From 382b08375c5cb5c0cf30acffbd0662ff480b9f1e Mon Sep 17 00:00:00 2001 From: Harsh Vardhan Singhal <51576476+harsh778@users.noreply.github.com> Date: Thu, 29 Oct 2020 16:47:12 +0530 Subject: [PATCH 26/26] Update index.html --- index.html | 55 +----------------------------------------------------- 1 file changed, 1 insertion(+), 54 deletions(-) diff --git a/index.html b/index.html index 158574f..8495b97 100644 --- a/index.html +++ b/index.html @@ -1,54 +1 @@ - - - - - - Simon Game - - - - - - - -

Simon Game

- Rules -

Press Any Key to Start

-
-
- -
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
- - - - - - - - - +Simon Game

Simon Game

Rules

Press Any Key to Start