Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ssri from 6.0.1 to 6.0.2 in /Projects/Mom's Delicacies #7

Open
wants to merge 195 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
d97276b
Initial commit
Mohammed-Shoaib Mar 26, 2018
c0baef4
Create p5.js
Mohammed-Shoaib Mar 26, 2018
2b2a1f9
Add files via upload
Mohammed-Shoaib Mar 26, 2018
c40bd9e
Add files via upload
Mohammed-Shoaib Mar 26, 2018
156579d
Initial commit
Mohammed-Shoaib Mar 26, 2018
5a2a506
Add files via upload
Mohammed-Shoaib Mar 26, 2018
e83221a
Initial commit
Mohammed-Shoaib Mar 26, 2018
2f0d36a
Add files via upload
Mohammed-Shoaib Mar 26, 2018
823b2ec
Initial commit
Mohammed-Shoaib Mar 26, 2018
b4cc1e7
Add files via upload
Mohammed-Shoaib Mar 26, 2018
27cedb4
Initial commit
Mohammed-Shoaib Apr 13, 2018
35cb58f
Add files via upload
Mohammed-Shoaib Apr 13, 2018
ba3cb4c
Rename Game.html to index.html
Mohammed-Shoaib Apr 13, 2018
7c5968d
Initial commit
Mohammed-Shoaib Apr 13, 2018
974c784
Add files via upload
Mohammed-Shoaib Apr 13, 2018
0a5fb98
Update README.md
Mohammed-Shoaib Apr 13, 2018
96e78e0
Update README.md
Mohammed-Shoaib Apr 13, 2018
542dc3e
Initial commit
Mohammed-Shoaib Apr 13, 2018
53454c7
Add files via upload
Mohammed-Shoaib Apr 13, 2018
e09003d
Update README.md
Mohammed-Shoaib Apr 27, 2018
bbe36fa
Update Sketch.js
Mohammed-Shoaib Jun 7, 2018
0bbdef0
Update Gun.js
Mohammed-Shoaib Jun 7, 2018
fbd63b3
Add files via upload
Mohammed-Shoaib Jun 7, 2018
b28e015
Update Sketch.js
Mohammed-Shoaib Jun 7, 2018
e2e93a4
Update Sketch.js
Mohammed-Shoaib Jun 7, 2018
770550c
Set theme jekyll-theme-cayman
Mohammed-Shoaib Jun 7, 2018
2d7e8e1
Initial commit
Mohammed-Shoaib Jul 2, 2018
641ccd2
Add files via upload
Mohammed-Shoaib Jul 2, 2018
c4e1e06
Update Sketch.js
Mohammed-Shoaib Jul 3, 2018
73304e5
Initial commit
Mohammed-Shoaib Jul 3, 2018
5e0a7b4
Add files via upload
Mohammed-Shoaib Jul 3, 2018
7f78423
Initial commit
Mohammed-Shoaib Jul 3, 2018
1d0d7ce
Add files via upload
Mohammed-Shoaib Jul 3, 2018
5e902ad
Initial commit
Mohammed-Shoaib Jul 7, 2018
fcca69d
Add files via upload
Mohammed-Shoaib Jul 7, 2018
9f62afb
Add files via upload
Mohammed-Shoaib Jul 9, 2018
44666aa
Add files via upload
Mohammed-Shoaib Jul 9, 2018
65499d1
Add files via upload
Mohammed-Shoaib Jul 9, 2018
9e591de
Add files via upload
Mohammed-Shoaib Jul 9, 2018
1c675e0
Add files via upload
Mohammed-Shoaib Jul 9, 2018
dd0e9b3
Add files via upload
Mohammed-Shoaib Jul 9, 2018
4181dd1
Add files via upload
Mohammed-Shoaib Jul 9, 2018
5226f5c
Initial commit
Mohammed-Shoaib Jul 11, 2018
aad06f7
Initial commit
Mohammed-Shoaib Jul 16, 2018
014f11a
Add files via upload
Mohammed-Shoaib Jul 16, 2018
0cc961e
Add files via upload
Mohammed-Shoaib Jul 17, 2018
7e3c8e1
Update index.html
Mohammed-Shoaib Jul 17, 2018
90f6f2b
Initial commit
Mohammed-Shoaib Jul 29, 2018
2e0dfb5
Add files via upload
Mohammed-Shoaib Jul 29, 2018
75946b2
Add files via upload
Mohammed-Shoaib Jul 29, 2018
e38df83
Add files via upload
Mohammed-Shoaib Jul 29, 2018
1394789
Fixed the double tap issue on mobile
Mohammed-Shoaib Jul 29, 2018
e4fef9d
Fixed the double tap bug on mobile
Mohammed-Shoaib Jul 29, 2018
2fb4775
Update Game.js
Mohammed-Shoaib Jul 30, 2018
4beacf4
Initial commit
Mohammed-Shoaib Aug 8, 2018
fb93803
Add files via upload
Mohammed-Shoaib Aug 9, 2018
ff908aa
Initial commit
Mohammed-Shoaib Aug 10, 2018
ca672da
Add files via upload
Mohammed-Shoaib Aug 10, 2018
117c03f
Update README.md
Mohammed-Shoaib Aug 10, 2018
1b70666
Add files via upload
Mohammed-Shoaib Aug 11, 2018
4242598
Add files via upload
Mohammed-Shoaib Aug 11, 2018
efbdff0
Add files via upload
Mohammed-Shoaib Aug 11, 2018
30f6639
Add files via upload
Mohammed-Shoaib Aug 12, 2018
106ec1b
Add files via upload
Mohammed-Shoaib Aug 12, 2018
d359449
Add files via upload
Mohammed-Shoaib Aug 12, 2018
67709c7
Add files via upload
Mohammed-Shoaib Aug 12, 2018
8b56bc0
Add files via upload
Mohammed-Shoaib Aug 12, 2018
3f3a241
Add files via upload
Mohammed-Shoaib Aug 13, 2018
ac4ab43
Add files via upload
Mohammed-Shoaib Aug 13, 2018
d039799
Add files via upload
Mohammed-Shoaib Aug 13, 2018
87cbfe5
Add files via upload
Mohammed-Shoaib Aug 13, 2018
9151175
Update README.md
Mohammed-Shoaib Aug 13, 2018
3ae8ee1
Update README.md
Mohammed-Shoaib Aug 13, 2018
8a21cf2
Update README.md
Mohammed-Shoaib Aug 13, 2018
07d632e
Add files via upload
Mohammed-Shoaib Aug 14, 2018
1967c63
Add files via upload
Mohammed-Shoaib Aug 14, 2018
2a9aefa
Update README.md
Mohammed-Shoaib Aug 14, 2018
e2d79a6
Add files via upload
Mohammed-Shoaib Aug 14, 2018
1bf0c4b
Delete Game.js
Mohammed-Shoaib Aug 14, 2018
3c21734
Add files via upload
Mohammed-Shoaib Aug 14, 2018
67d52b0
Add files via upload
Mohammed-Shoaib Aug 14, 2018
22b3953
Add files via upload
Mohammed-Shoaib Aug 14, 2018
3186fa8
Add files via upload
Mohammed-Shoaib Aug 14, 2018
d7a142f
Add files via upload
Mohammed-Shoaib Aug 14, 2018
60a65f6
Update README.md
Mohammed-Shoaib Aug 18, 2018
7a4173a
Initial commit
Mohammed-Shoaib Sep 1, 2018
1f3356d
Add files via upload
Mohammed-Shoaib Sep 1, 2018
811b7d6
Add files via upload
Mohammed-Shoaib Sep 2, 2018
26e4e0e
Add files via upload
Mohammed-Shoaib Sep 2, 2018
610f6f6
Delete controller_dataset.js
Mohammed-Shoaib Sep 3, 2018
757192a
Delete webcam.js
Mohammed-Shoaib Sep 3, 2018
c1b9ebb
Delete image_to_json_min.py
Mohammed-Shoaib Sep 3, 2018
39e42cd
Add files via upload
Mohammed-Shoaib Sep 3, 2018
ee4cd6d
Delete data_min.json
Mohammed-Shoaib Sep 3, 2018
19f1379
Delete A.zip
Mohammed-Shoaib Sep 3, 2018
76d589d
Delete Y.zip
Mohammed-Shoaib Sep 3, 2018
9f0050e
Add files via upload
Mohammed-Shoaib Sep 3, 2018
36066ea
Add files via upload
Mohammed-Shoaib Sep 3, 2018
8bd5cfe
Add files via upload
Mohammed-Shoaib Sep 3, 2018
3bb6beb
Add files via upload
Mohammed-Shoaib Sep 3, 2018
d4e99b7
Add files via upload
Mohammed-Shoaib Sep 4, 2018
11b29bd
Add files via upload
Mohammed-Shoaib Sep 4, 2018
d84b1ae
Add files via upload
Mohammed-Shoaib Sep 4, 2018
10dded1
Add files via upload
Mohammed-Shoaib Sep 4, 2018
c3d8238
Add files via upload
Mohammed-Shoaib Sep 4, 2018
79ab656
Add files via upload
Mohammed-Shoaib Sep 4, 2018
ea24fa6
Add files via upload
Mohammed-Shoaib Sep 4, 2018
b33219d
Update index.html
Mohammed-Shoaib Sep 4, 2018
20bde97
Add files via upload
Mohammed-Shoaib Sep 5, 2018
5ba5c1b
Removed MobileNet from local storage
Mohammed-Shoaib Sep 9, 2018
803b654
Add files via upload
Mohammed-Shoaib Sep 9, 2018
0d7cf8b
Added the L-Systems
Mohammed-Shoaib Jul 29, 2018
7e4f5b5
Added the Polynomial Regression model
Mohammed-Shoaib Jul 11, 2018
c926321
Updated README with examples
Mohammed-Shoaib Jun 20, 2019
b7a0fb0
Add Hand Gesture Estimation
Mohammed-Shoaib Apr 12, 2020
9a6d442
Add utils library for helper functions
Mohammed-Shoaib Apr 12, 2020
6cf17d6
Add support to visualize the data
Mohammed-Shoaib Apr 13, 2020
dc6cc76
Create config file to tune user settings
Mohammed-Shoaib Apr 13, 2020
7ec8ea4
Finalize scripts for time series forecasting using ARIMA
Mohammed-Shoaib Apr 15, 2020
84c3c5c
Add documentation for time series forecasting
Mohammed-Shoaib Apr 15, 2020
b87abed
Create LICENSE
Mohammed-Shoaib Apr 15, 2020
030a1b5
Change library imports to CDN imports
Mohammed-Shoaib Apr 16, 2020
3f3c8b0
Merge digit recognizer
Mohammed-Shoaib Apr 16, 2020
d0b202e
Merge L-Systems
Mohammed-Shoaib Apr 16, 2020
0c2b97e
Merge Flappy Bird
Mohammed-Shoaib Apr 17, 2020
09e2b40
Merge E-Commerce Website
Mohammed-Shoaib Apr 17, 2020
ddf209a
Merge Snake
Mohammed-Shoaib Apr 17, 2020
dad2892
Merge Pop Balls
Mohammed-Shoaib Apr 17, 2020
795d17e
Merge Space Invaders
Mohammed-Shoaib Apr 18, 2020
1907bef
Merge 2048
Mohammed-Shoaib Apr 18, 2020
911d4b7
Merge Four Colors
Mohammed-Shoaib Apr 18, 2020
6eab9ec
Merge Fractal Ferns
Mohammed-Shoaib Apr 18, 2020
5c2fe98
Merge Tic-Tac-Toe
Mohammed-Shoaib Apr 19, 2020
9d60a48
Merge Fractal Tree
Mohammed-Shoaib Apr 19, 2020
17778ff
Merge Mandelbrot & Julia Set
Mohammed-Shoaib Apr 20, 2020
cb08269
Merge Sierpinski Triangle
Mohammed-Shoaib Apr 20, 2020
4115d8f
Merge XOR Problem
Mohammed-Shoaib Apr 20, 2020
acd565c
Merge Color Classifier
Mohammed-Shoaib Apr 20, 2020
81053f2
Merge Polynomial Regression
Mohammed-Shoaib Apr 20, 2020
895273b
Update directory structure and change library imports to CDN imports
Mohammed-Shoaib Apr 21, 2020
bda6003
Initial commit for Mom's Delicacies
Mohammed-Shoaib Jan 10, 2021
8cb97a5
Initial commit for app component
Mohammed-Shoaib Jan 10, 2021
18ca7b5
[TS] Initial commit for app routing
Mohammed-Shoaib Jan 19, 2021
8eb7156
[HTML] Initial commit for header component
Mohammed-Shoaib Jan 20, 2021
aa0a0d9
[TS] Initial commit for header component
Mohammed-Shoaib Jan 20, 2021
65f1f2b
[SCSS] Initial commit for header component
Mohammed-Shoaib Jan 20, 2021
d1f5e13
[HTML] Initial commit for shopping list component
Mohammed-Shoaib Jan 21, 2021
8268603
[TS] Initial commit for shopping list component
Mohammed-Shoaib Jan 21, 2021
b0aa07c
[SCSS] Initial commit for shopping list component
Mohammed-Shoaib Jan 21, 2021
b8bc656
[HTML] Initial commit for shopping edit component
Mohammed-Shoaib Jan 22, 2021
1a08b77
[TS] Initial commit for shopping edit component
Mohammed-Shoaib Jan 22, 2021
ed5280d
[SCSS] Initial commit for shopping edit component
Mohammed-Shoaib Jan 22, 2021
16db426
[TS] Initial commit for shopping list service
Mohammed-Shoaib Jan 23, 2021
b9ace3a
[TS] Initial commit for recipe model
Mohammed-Shoaib Jan 24, 2021
d051f79
[TS] Initial commit for recipe service
Mohammed-Shoaib Jan 25, 2021
a44dd1e
[TS] Initial commit for recipes resolver service
Mohammed-Shoaib Jan 26, 2021
135d334
[HTML] Initial commit for recipes component
Mohammed-Shoaib Jan 29, 2021
125f0cc
[TS] Initial commit for recipes component
Mohammed-Shoaib Jan 29, 2021
3fcbf0a
[SCSS] Initial commit for recipes component
Mohammed-Shoaib Jan 29, 2021
2758953
[HTML] Initial commit for recipe start component
Mohammed-Shoaib Jan 30, 2021
9af816a
[TS] Initial commit for recipe start component
Mohammed-Shoaib Jan 30, 2021
646b373
[SCSS] Initial commit for recipe start component
Mohammed-Shoaib Jan 30, 2021
a5c3730
[HTML] Initial commit for recipe edit component
Mohammed-Shoaib Jan 31, 2021
1522864
[TS] Initial commit for recipe edit component
Mohammed-Shoaib Jan 31, 2021
a303b6f
[SCSS] Initial commit for recipe edit component
Mohammed-Shoaib Jan 31, 2021
11ef61c
[HTML] Initial commit for recipe detail component
Mohammed-Shoaib Feb 1, 2021
3f30122
[TS] Initial commit for recipe detail component
Mohammed-Shoaib Feb 1, 2021
93711bd
[SCSS] Initial commit for recipe detail component
Mohammed-Shoaib Feb 1, 2021
be17beb
[HTML] Initial commit for recipe list component
Mohammed-Shoaib Feb 2, 2021
63ce655
[TS] Initial commit for recipe list component
Mohammed-Shoaib Feb 2, 2021
813a33a
[SCSS] Initial commit for recipe list component
Mohammed-Shoaib Feb 2, 2021
ec42d50
[HTML] Initial commit for recipe item component
Mohammed-Shoaib Feb 3, 2021
d229521
[TS] Initial commit for recipe item component
Mohammed-Shoaib Feb 3, 2021
33747a5
[SCSS] Initial commit for recipe item component
Mohammed-Shoaib Feb 3, 2021
ef4d16d
[TS] Initial commit for ingredient model
Mohammed-Shoaib Feb 4, 2021
1339814
[TS] Initial commit for dropdown directive
Mohammed-Shoaib Feb 5, 2021
0494c3c
[TS] Initial commit for data storage service
Mohammed-Shoaib Feb 6, 2021
7f6c77d
[HTML] Initial commit for auth component
Mohammed-Shoaib Feb 7, 2021
a1df8bf
[TS] Initial commit for auth component
Mohammed-Shoaib Feb 7, 2021
d63fa5f
[TS] Initial commit for auth guard
Mohammed-Shoaib Feb 8, 2021
b6edb73
[TS] Initial commit for auth service
Mohammed-Shoaib Feb 9, 2021
6cf3dbf
[TS] Initial commit for auth interceptor service
Mohammed-Shoaib Feb 10, 2021
3fde92e
[TS] Initial commit for user model
Mohammed-Shoaib Feb 11, 2021
cc57713
[HTML] Initial commit for alert component
Mohammed-Shoaib Feb 12, 2021
446de3c
[TS] Initial commit for alert component
Mohammed-Shoaib Feb 12, 2021
b8a4255
[SCSS] Initial commit for alert component
Mohammed-Shoaib Feb 12, 2021
0b38b75
[HTML] Initial commit for loading spinner component
Mohammed-Shoaib Feb 13, 2021
3620cf1
[TS] Initial commit for loading spinner component
Mohammed-Shoaib Feb 13, 2021
36eede0
[SCSS] Initial commit for loading spinner component
Mohammed-Shoaib Feb 13, 2021
7922daa
[TS] Initial commit for placeholder directive
Mohammed-Shoaib Feb 14, 2021
4a606e5
[HTML] Add authentication in header component
Mohammed-Shoaib Feb 15, 2021
3c1d3e0
[TS] Add authentication in header component
Mohammed-Shoaib Feb 15, 2021
529c01d
[TS] Add authentication to the routing module
Mohammed-Shoaib Feb 16, 2021
f97d424
[TS] Add authentication to the app module
Mohammed-Shoaib Feb 17, 2021
6a3df51
Bump ssri from 6.0.1 to 6.0.2 in /Projects/Mom's Delicacies
dependabot[bot] Apr 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 0 additions & 23 deletions Game.html

This file was deleted.

222 changes: 21 additions & 201 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,201 +1,21 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
MIT License

Copyright (c) 2020 Mohammed Shoaib

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.
3 changes: 3 additions & 0 deletions Projects/2048/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 2048

The popular game 2048 made using JavaScript. Try it out [here](https://mohammed-shoaib.github.io/Watch-Me-Build/Projects/2048/)!
13 changes: 13 additions & 0 deletions Projects/2048/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>2048</title>
<!-- JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js"></script>
<script type="text/javascript" src="js/sketch.js"></script>
<script type="text/javascript" src="js/board.js"></script>
<script type="text/javascript" src="js/block.js"></script>
</head>
<body>
</body>
</html>
77 changes: 77 additions & 0 deletions Projects/2048/js/block.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
function Block(x,y,value)
{
this.x = x;
this.y = y;
this.value = value;
this.c,this.t;

this.show = function(){
push();
this.x = constrain(this.x,50,350);
this.y = constrain(this.y,50,350)
this.findColor();
fill(this.c);
rect(this.x,this.y,90,90);
pop();
push();
stroke(this.t);
fill(this.t);
textSize(40);
textAlign(CENTER,CENTER);
strokeWeight(3);
text(this.value,this.x,this.y);
pop();
}

this.findColor = function(){
switch(this.value)
{
case 2:
this.c = color(255);
this.t = 10;
break;
case 4:
this.c = color(255);
this.t = 10;
break;
case 8:
colorMode(HSB);
this.c = color(50, 55, 100);
this.t = 10;
break;
case 16:
this.c = color('hsb(160, 100%, 50%)');
this.t = 220;
break;
case 32:
this.c = color(255, 204, 0);
this.t = 10;
break;
case 64:
this.c = color('hsba(160, 100%, 50%, 0.5)');
this.t = 220;
break;
case 128:
this.c = color(50, 55, 100);
this.t = 220;
break;
case 256:
this.c = color("red");
this.t = 220;
break;
case 512:
this.c = color("orange");
this.t = 220;
break;
case 1024:
this.c = color("magenta");
this.t = 220;
break;
case 2048:
this.c = color('#0f0');
this.t = 10;
break;
}
}

}
Loading