From 72e89afac0f11d59e4399f245e6dcc728bec38d9 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 15 Jul 2023 02:46:14 +0530 Subject: cleaned up code, added timeout, etc --- build/asset-manifest.json | 13 +++++++++ build/favicon.ico | Bin 0 -> 1150 bytes build/index.html | 1 + build/static/css/main.aa39b0f9.css | 2 ++ build/static/css/main.aa39b0f9.css.map | 1 + build/static/js/main.9c7c2e70.js | 3 +++ build/static/js/main.9c7c2e70.js.LICENSE.txt | 39 +++++++++++++++++++++++++++ build/static/js/main.9c7c2e70.js.map | 1 + 8 files changed, 60 insertions(+) create mode 100644 build/asset-manifest.json create mode 100644 build/favicon.ico create mode 100644 build/index.html create mode 100644 build/static/css/main.aa39b0f9.css create mode 100644 build/static/css/main.aa39b0f9.css.map create mode 100644 build/static/js/main.9c7c2e70.js create mode 100644 build/static/js/main.9c7c2e70.js.LICENSE.txt create mode 100644 build/static/js/main.9c7c2e70.js.map (limited to 'build') diff --git a/build/asset-manifest.json b/build/asset-manifest.json new file mode 100644 index 0000000..d197bec --- /dev/null +++ b/build/asset-manifest.json @@ -0,0 +1,13 @@ +{ + "files": { + "main.css": "/static/css/main.aa39b0f9.css", + "main.js": "/static/js/main.9c7c2e70.js", + "index.html": "/index.html", + "main.aa39b0f9.css.map": "/static/css/main.aa39b0f9.css.map", + "main.9c7c2e70.js.map": "/static/js/main.9c7c2e70.js.map" + }, + "entrypoints": [ + "static/css/main.aa39b0f9.css", + "static/js/main.9c7c2e70.js" + ] +} \ No newline at end of file diff --git a/build/favicon.ico b/build/favicon.ico new file mode 100644 index 0000000..4927520 Binary files /dev/null and b/build/favicon.ico differ diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..dcb387d --- /dev/null +++ b/build/index.html @@ -0,0 +1 @@ +React App
\ No newline at end of file diff --git a/build/static/css/main.aa39b0f9.css b/build/static/css/main.aa39b0f9.css new file mode 100644 index 0000000..ebb8ae1 --- /dev/null +++ b/build/static/css/main.aa39b0f9.css @@ -0,0 +1,2 @@ +body{background-color:#232627;color:#fff;margin:0;padding:0}#root{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.GamemodeChooser{align-items:center;display:flex;flex-direction:column;height:calc(100vh - 6rem);justify-content:center;width:100vw}.GamemodeChooser .GamemodeButton{border:1px solid #5b76b7;font-size:1.5rem;margin:1rem;padding:.5rem 0;text-align:center;width:15rem}.MessageBox{align-items:center;bottom:0;display:flex;font-size:7rem;justify-content:center;left:0;position:fixed;right:0;text-align:center;top:0;z-index:10}.MessageBox p{background-color:#000000dd;padding:.5rem 2rem}.ScoreBoardContainer{left:0;margin:1rem auto;min-height:9rem;position:relative;right:0;text-align:center;width:30rem}.ScoreBoard{display:flex;font-size:3rem;justify-content:space-around;width:100%}.Grid{grid-row-gap:1.5rem;grid-column-gap:1.5rem;display:grid;grid-template-columns:9rem 9rem 9rem;grid-template-rows:9rem 9rem 9rem;height:calc(100vh - 17rem);left:0;margin:1rem auto;position:relative;right:0;width:30rem}.Box{border:1px solid #5b76b7;font-size:7rem;height:100%;justify-content:center}.Box,.Footer{align-items:center;display:flex;width:100%}.Footer{background-color:#0f0f0f;bottom:0;flex-direction:column;min-height:6rem;padding:.2rem 0;position:relative;text-align:center}.Footer p{color:#a75cb8;margin:.2rem;width:90%}.Footer a{color:#fff}@media only screen and (max-width:600px){.MessageBox{font-size:4rem}.ScoreBoardContainer{width:20rem}.ScoreBoard{font-size:3.5rem}.Grid{grid-row-gap:1.5rem;grid-column-gap:1.5rem;grid-template-columns:6rem 6rem 6rem;grid-template-rows:6rem 6rem 6rem;width:21rem}.Box{font-size:6rem}} +/*# sourceMappingURL=main.aa39b0f9.css.map*/ \ No newline at end of file diff --git a/build/static/css/main.aa39b0f9.css.map b/build/static/css/main.aa39b0f9.css.map new file mode 100644 index 0000000..fa9c860 --- /dev/null +++ b/build/static/css/main.aa39b0f9.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.aa39b0f9.css","mappings":"AAkBA,K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.css"],"sourcesContent":["/*\n * Tic Tac Toe - Minimalistic Tic Tac Toe\n * Copyright (C) 2021 Vidhu Kant Sharma\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see .\n */\n\nbody {\n margin: 0;\n padding: 0;\n background-color: #232627;\n color: white;\n}\n\n#root {\n position: absolute;\n margin: auto;\n top: 0; bottom: 0;\n left: 0; right: 0;\n}\n\n.GamemodeChooser {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: calc(100vh - 6rem);\n width: 100vw;\n}\n\n.GamemodeChooser .GamemodeButton {\n border: 1px solid #5b76b7;\n text-align: center;\n font-size: 1.5rem;\n padding: 0.5rem 0;\n width: 15rem;\n margin: 1rem;\n}\n\n.MessageBox {\n font-size: 7rem;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n position: fixed;\n top: 0; bottom: 0;\n left: 0; right: 0;\n z-index: 10;\n}\n\n.MessageBox p {\n background-color: #000000dd;\n padding: 0.5rem 2rem;\n}\n\n.ScoreBoardContainer {\n text-align: center;\n position: relative;\n left: 0; right: 0;\n margin: 1rem auto;\n width: 30rem;\n min-height: 9rem;\n}\n\n.ScoreBoard { \n display: flex;\n justify-content: space-around;\n width: 100%;\n font-size: 3rem;\n}\n\n.Grid {\n height: calc(100vh - 17rem);\n display: grid;\n grid-template-columns: 9rem 9rem 9rem;\n grid-template-rows: 9rem 9rem 9rem;\n grid-row-gap: 1.5rem;\n grid-column-gap: 1.5rem;\n\n position: relative;\n left: 0; right: 0;\n margin: 1rem auto;\n width: 30rem;\n}\n\n.Box {\n border: 1px solid #5b76b7;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n font-size: 7rem;\n}\n\n.Footer {\n min-height: 6rem;\n position: relative;\n bottom: 0;\n width: 100%;\n padding: 0.2rem 0;\n background-color: #0f0f0f;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n}\n\n.Footer p {\n color: #a75cb8;\n margin: 0.2rem;\n width: 90%;\n}\n\n.Footer a {\n color: white;\n}\n\n@media only screen and (max-width: 600px) {\n .MessageBox {\n font-size: 4rem;\n }\n .ScoreBoardContainer {\n width: 20rem;\n }\n .ScoreBoard { \n font-size: 3.5rem;\n }\n .Grid {\n grid-template-columns: 6rem 6rem 6rem;\n grid-template-rows: 6rem 6rem 6rem;\n grid-row-gap: 1.5rem;\n grid-column-gap: 1.5rem;\n width: 21rem;\n }\n .Box {\n font-size: 6rem;\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/main.9c7c2e70.js b/build/static/js/main.9c7c2e70.js new file mode 100644 index 0000000..ba942f9 --- /dev/null +++ b/build/static/js/main.9c7c2e70.js @@ -0,0 +1,3 @@ +/*! For license information please see main.9c7c2e70.js.LICENSE.txt */ +!function(){"use strict";var e={463:function(e,t,n){var r=n(791),a=n(296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n