From e732f566031c1d4d087f44b4af3526998ddcf22d Mon Sep 17 00:00:00 2001
From: Bhawna Sharma <46512586+bhawna22@users.noreply.github.com>
Date: Fri, 1 Feb 2019 15:00:44 +0530
Subject: [PATCH 1/3] TicTacToe
---
game.css | 37 +++++++++++++++++++++++++++++++++++++
game.html | 44 ++++++++++++++++++++++++++++++++++++++++++++
game.js | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 131 insertions(+)
create mode 100644 game.css
create mode 100644 game.html
create mode 100644 game.js
diff --git a/game.css b/game.css
new file mode 100644
index 0000000..fe3bf4f
--- /dev/null
+++ b/game.css
@@ -0,0 +1,37 @@
+h1 {
+ text-align: center;
+ font-family: 'Indie Flower', cursive;
+ font-size: 53px;
+}
+div {
+ text-align: center;
+ margin: 0px auto;
+ text-align: center;
+ margin: auto;
+}
+body {
+ background-color: #02c39a;
+}
+
+.cell {
+ width:80px;
+ height:80px;
+ border: 5px solid #000000;
+ background: #FFFFFF;
+ font-size: 46pt;
+ font-family: arial;
+ font-weight: bold;
+ text-align: center;
+ margin: auto;
+
+}
+
+fieldset {
+ text-align: center;
+ margin: auto;
+}
+
+.cell:hover {
+ background: #C2DBFC;
+ text-align: center;
+}
diff --git a/game.html b/game.html
new file mode 100644
index 0000000..8b89d84
--- /dev/null
+++ b/game.html
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/game.js b/game.js
new file mode 100644
index 0000000..994ac26
--- /dev/null
+++ b/game.js
@@ -0,0 +1,50 @@
+var currentPlayer = prompt("Who is The Current Player X=1 O=2");
+
+
+
+var grid=new Array(3);
+grid[0]=new Array(3);
+grid[1]=new Array(3);
+grid[2]=new Array(3);
+
+
+for (var i=0; i<=2; i++) {
+ for (var j=0; j<=2; j++) {
+ grid[i][j]=0;
+ }
+}
+
+// Checks If Grid Is Already Clicked
+function clickCell(x,y) {
+ if (grid[x][y]>0) {
+ alert("Dont Try To Cheat Bud!!!!!");
+ }
+
+
+// Clicking Of Boxes
+ else {
+ if (currentPlayer==1) {
+ document.getElementById("cell_"+x+"_"+y).style.color="#3F88C5";
+ document.getElementById("cell_"+x+"_"+y).innerHTML="X";
+ grid[x][y]=1;
+ currentPlayer=2;
+ } else {
+ document.getElementById("cell_"+x+"_"+y).style.color="#E2C290";
+ document.getElementById("cell_"+x+"_"+y).innerHTML="O";
+ grid[x][y]=2;
+ currentPlayer=1;
+ }
+ }
+}
+
+// Reset Game
+
+function reset() {
+for (var i=0; i<=2; i++) {
+ for (var j=0; j<=2; j++) {
+ grid[i][j]=0;
+ document.getElementById("cell_"+i+"_"+j).innerHTML=" ";
+ }
+}
+ currentPlayer=1;
+}
\ No newline at end of file
From c38489ca1240e07070561d230777b648ef2251c4 Mon Sep 17 00:00:00 2001
From: Bhawna Sharma <46512586+bhawna22@users.noreply.github.com>
Date: Wed, 6 Feb 2019 16:52:44 +0530
Subject: [PATCH 2/3] Not Completed
Still working not completed yet
---
List.css | 70 ++++++++++++++++++++++++++++++++++++++++++++++
List.html | 47 +++++++++++++++++++++++++++++++
LoginPage.css | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++
Pic22.jpg | Bin 0 -> 892036 bytes
Pic31.jpg | Bin 0 -> 60032 bytes
index.html | 32 +++++++++++++++++++++
pic1.jpeg | Bin 0 -> 318685 bytes
pic10.jpeg | Bin 0 -> 37631 bytes
pic17.jpeg | Bin 0 -> 68818 bytes
pic2.jpeg | Bin 0 -> 434501 bytes
pic3.jpeg | Bin 0 -> 92643 bytes
pic34.jpeg | Bin 0 -> 35617 bytes
tic.css | 47 +++++++++++++++++++++++++++++++
tic.html | 44 +++++++++++++++++++++++++++++
tic.js | 13 +++++++++
15 files changed, 328 insertions(+)
create mode 100644 List.css
create mode 100644 List.html
create mode 100644 LoginPage.css
create mode 100644 Pic22.jpg
create mode 100644 Pic31.jpg
create mode 100644 index.html
create mode 100644 pic1.jpeg
create mode 100644 pic10.jpeg
create mode 100644 pic17.jpeg
create mode 100644 pic2.jpeg
create mode 100644 pic3.jpeg
create mode 100644 pic34.jpeg
create mode 100644 tic.css
create mode 100644 tic.html
create mode 100644 tic.js
diff --git a/List.css b/List.css
new file mode 100644
index 0000000..a3cf899
--- /dev/null
+++ b/List.css
@@ -0,0 +1,70 @@
+h2{
+ margin:0;
+
+ color: brown;
+ font-size: 40px;
+ font-family: cursive;
+ text-align: center;
+ font-weight: "bold";
+}
+body{
+ background-image: url("pic22.jpg");
+ background-size: 100% 100%;
+ background-attachment: fixed;
+ margin: 0;
+ padding: 0;
+ font-family: sans-serif;
+}
+
+
+.loginBox{
+ position: absolute;
+ top: 70%;
+ left: 40%;
+ transform: translate(-40%,-50%);
+ width: 300px;
+ height: 650px;
+ padding: 40px 40px;
+ box-sizing: border-box;
+ background: rgba(0,0,0,0);
+
+}
+
+table, th, td{
+ border:1px solid brown;
+
+
+}
+th, td{
+ padding: 10px;
+ text-align: center;
+}
+th{
+ color: blueviolet;
+}
+.loginBox input[type="button"]
+{
+ border: none;
+ outline: none;
+ height: 40px;
+ color:white;
+ font-size: 30px;
+ font-family: serif;
+ background-image: url("pic34.jpeg");
+
+
+ box-shadow: 5px 5px 5px black;
+ font-weight: bold;
+ cursor: pointer;
+ width: 300px;
+ transform: translate(30%,10%);
+}
+.loginBox input[type="button"]:hover{
+ background-image: url("Pic31.jpg");
+ box-shadow: 5px 5px 5px black;
+}
+
+
+
+
+
diff --git a/List.html b/List.html
new file mode 100644
index 0000000..3645308
--- /dev/null
+++ b/List.html
@@ -0,0 +1,47 @@
+
+
+
+